Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cmd-api-server): shutdown hook was not waiting for promises
1. The library we use for having async functions handle resource deallocation was not being used correctly by the API server. 2. The library only supports callback style asynchronous code and the API server assumed that it could return a promise from the shutdown hooks which lead to the problem that our shutdown hooks were not being awaited for. Signed-off-by: Peter Somogyvari <[email protected]>
- Loading branch information