Skip to content

Asynchronous teardown #1803

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
telphan opened this issue May 16, 2018 · 1 comment
Closed

Asynchronous teardown #1803

telphan opened this issue May 16, 2018 · 1 comment

Comments

@telphan
Copy link

telphan commented May 16, 2018

Ava calls internally process.exit which makes it impossible to have asynchronous teardown code.
At this time I override process.exit to send SIGTERM which then can be handled asynchronously, however I would like to get rid of this hack.
I guess my question is: does ava needs/should call process.exit internally?

@telphan telphan closed this as completed May 16, 2018
@novemberborn
Copy link
Member

Yea, I'd like to change this. See #1718.

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

No branches or pull requests

2 participants