Skip to content

Replace process::exit with process::ExitCode - #975

Open
sorairolake wants to merge 1 commit into
dalance:masterfrom
sorairolake:use-process-exit-code
Open

sorairolake wants to merge 1 commit into
dalance:masterfrom
sorairolake:use-process-exit-code

Conversation

@sorairolake

Copy link
Copy Markdown
Contributor

std::process::exit() does not run destructors when the process terminates.

I changed the main function to return std::process::ExitCode so that it shutdown cleanly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant