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

Always run toast eval inside the runtime #3313

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

ealmloff
Copy link
Member

@ealmloff ealmloff commented Dec 9, 2024

The websocket handler for the devtools uses eval to run javascript that creates the toast without entering explicitly entering the runtime. This sometimes worked if the scheduler happened to already be in the runtime, but it can panic randomly if that is not the case

@ealmloff ealmloff added bug Something isn't working web relating to the web renderer for dioxus cli Related to the dioxus-cli program labels Dec 9, 2024
@jkelleyrtp jkelleyrtp merged commit d89ab3c into DioxusLabs:main Dec 11, 2024
17 checks passed
@ealmloff ealmloff deleted the fix-toast-runtime branch December 11, 2024 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli Related to the dioxus-cli program web relating to the web renderer for dioxus
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants