Skip to content
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

Add shutdown hook when waiting executor's subprocess result #649

Merged
merged 2 commits into from
Mar 7, 2022

Conversation

zuston
Copy link
Member

@zuston zuston commented Mar 6, 2022

What

To prevent the task executor's JVM abnormal exit, but the Python subprocess is still alive.

So this PR introduce the JVM shutdown hook until the subprocess finish.

Signed-off-by: zhangjunfan <junfan.zhang@outlook.com>
@zuston zuston merged commit 760d5ee into tony-framework:master Mar 7, 2022
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.

2 participants