Skip to content

windows (4.0.0 branch): cancelAll removes scheduled toasts after iterating them - #9

Merged
palmoni5 merged 2 commits into
windows-worker-thread-lazy-library-23xfrom
fix/cancelall-snapshot-23x
Nov 16, 2026
Merged

palmoni5 merged 2 commits into
windows-worker-thread-lazy-library-23xfrom
fix/cancelall-snapshot-23x

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 0943fb8 into windows-worker-thread-lazy-library-23x Nov 16, 2026
25 of 26 checks passed
Y-PLONI pushed a commit to Otzaria/otzaria that referenced this pull request Nov 16, 2026
מעדכן את flutter_local_notifications_windows ל-0943fb8
(Otzaria/flutter_local_notifications#9), עם תיקוני הסקירה ב-MaikuB #2826 ו-#2874:
- cancelAll אוסף את ההתראות המתוזמנות לפני שהוא מסיר אותן, במקום להסיר
  תוך כדי מעבר עליהן.
- תוצאת האתחול מדווחת תמיד, גם אם ניקוי רישום שנכשל זורק חריגה, כך
  ש-initialize לא נתקע.
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