Skip to content

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 added the DS - web Affects the Web backend (WebAssembly/WASM) label Jul 20, 2024
@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DS - web Affects the Web backend (WebAssembly/WASM)

Development

Successfully merging this pull request may close these issues.

2 participants