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: restore kernel context on reactive event handler #962

Merged

Conversation

maartenbreddels
Copy link
Contributor

If a reactive variable was set from a different (or no) kernel context,
the event handler would not restore the kernel context that was
active when the event handler was registered.

Fixes #961

If a reactive variable was set from a different (or no) kernel context,
the event handler would not restore the kernel context that was
active when the event handler was registered.

Fixes #961
…xt on subscribe

In use_reactive, the subscribe did not pass a context, so it was None.
We now always store the context for listeners, and we also rename
the scope to context.
@maartenbreddels maartenbreddels force-pushed the fix_restore_kernel_context_on_reactive_event_handler branch from 4b0df66 to a6a9607 Compare January 8, 2025 15:43
@maartenbreddels maartenbreddels temporarily deployed to fix_restore_kernel_context_on_reactive_event_handler - solara-stable PR #962 January 8, 2025 15:43 — with Render Destroyed
@maartenbreddels maartenbreddels merged commit 06f1670 into master Jan 9, 2025
29 checks passed
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.

Assertion error on PyCafe with initial render
1 participant