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

fix: race condition in module watcher #1213

Merged
merged 2 commits into from
Apr 24, 2024
Merged

fix: race condition in module watcher #1213

merged 2 commits into from
Apr 24, 2024

Conversation

akshayka
Copy link
Contributor

@akshayka akshayka commented Apr 24, 2024

This PR fixes a race condition in which the module watcher was iterating over sys.modules while the kernel may have been modifying it.

Fixes the race mentioned in ##1179 (comment)

This PR fixes a race condition in which the module watcher
was iterating over sys.modules while the kernel may have been
modifying it.
Copy link

vercel bot commented Apr 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
marimo-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2024 7:14am
marimo-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2024 7:14am

@akshayka akshayka merged commit d2592d8 into main Apr 24, 2024
29 checks passed
@akshayka akshayka deleted the aka/fix-reloader-race branch April 24, 2024 16:53
Copy link

🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.4.4-dev9

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.

None yet

2 participants