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

Web: async improvements #3805

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

daxpedda
Copy link
Member

  • Internal: Fix dropping Notifier without sending a result causing Futures to never complete. This should never happen anyway, but now we get a panic instead of nothing if we hit a bug.
  • Internal: Remove a bunch of unwrap()s that aren't required when correctly using MainThreadMarker.
  • Window::canvas() is now able to return a reference instead of an owned value.

Extracted from #3801.

@daxpedda daxpedda force-pushed the web-async-improvements branch from beb51e6 to e791cd5 Compare July 23, 2024 14:19
@daxpedda daxpedda merged commit ef580b8 into rust-windowing:master Jul 23, 2024
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants