Skip to content

windows: cancelAll removes scheduled toasts after iterating them - #8

Merged
palmoni5 merged 2 commits into
windows-worker-thread-lazy-libraryfrom
fix/cancelall-snapshot
Nov 16, 2026
Merged

palmoni5 merged 2 commits into
windows-worker-thread-lazy-libraryfrom
fix/cancelall-snapshot

Conversation

@palmoni5

@palmoni5 palmoni5 commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Two ports from the upstream PRs:

Built locally, and flutter test -j 1 passes 26/26.

Port of MaikuB#2826 commit 316ec35: cancelAll now uses removeScheduled, which collects matches before removing, instead of removing from the scheduled view while iterating it.
Port of MaikuB#2874 commit 149fa4d: the worker calls onReady even if resetting a failed registration throws, so a pending initialize() always completes. Documents retry-or-dispose after a false result.
@palmoni5
palmoni5 merged commit 4b96521 into windows-worker-thread-lazy-library Nov 16, 2026
23 of 26 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.

1 participant