-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(api): clear ChangeNotifier's internal event immediately after wai…
…ting After the event flag is set(), the waiter no longer waits. If the event flag is not cleared immediately, this creates a potential scenario in which the notify() needs to set the event flag again before the waiter gets around to clearing it. This causes some events to be dropped. Simply clear the event flag immediately after waiting.
- Loading branch information
Showing
2 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters