Avoid use of os.Exit |
|
Issue descriptionfrom feiling: os.Exit() in main will bypass defer actions. So probably we should one of the solutions mentioned in https://stackoverflow.com/questions/27629380/how-to-exit-a-go-program-honoring-deferred-calls |
|
►
Sign in to add a comment |
|
Comment 1 by asanka@chromium.org
, May 15 2018