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

Make sure event loop is terminated when Julia exits #46

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

sethaxen
Copy link
Contributor

This PR is an attempt to fix #45. I believe the issue there is that Julia begins shutdown while the event loop is still running, and this may cause race conditions. Adding an atexit hook that stops the GUI seems to on my machine fix the segfault issue.

@sethaxen sethaxen changed the title Make sure event loop is terminated when Julia exists Make sure event loop is terminated when Julia exits Nov 11, 2024
@sethaxen
Copy link
Contributor Author

Maybe this also fixes the issue #24 is trying to fix?

@stevengj stevengj merged commit faf6094 into JuliaPy:main Nov 12, 2024
6 checks passed
@sethaxen sethaxen deleted the fixsegfault branch November 12, 2024 08:43
@sethaxen
Copy link
Contributor Author

Thanks @stevengj for merging. Could you also make a patch release?

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.

Segfault when exiting a Julia v1.11.1 session with multiple threads
2 participants