Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ciao-launcher: Ensure cpu profile and logs are flushed
Launcher was mistakenly using defer to flush logs and to stop the CPU profiling when shutting down. However, as launcher is quit by calling os.Exit, deferred functions do not get called. This was leading to incomplete CPU profiles being generated. Fixes: ciao-project#163 Signed-off-by: Mark Ryan <[email protected]>
- Loading branch information