-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX release] Consumes tags after fully getting values
Currently get() consumes some tags before getting the values, and getting the values itself can cause tag changes and notifications. In some cases, this is invalid, because the value that is being notified hasn't actually been consumed yet (it is in the process of being consumed. More generally, consumption should always occur immediately _after_ the relevant calculation - in this case, the getter.
- Loading branch information
Chris Garrett
committed
Jan 10, 2020
1 parent
d96d9aa
commit 34facf1
Showing
2 changed files
with
39 additions
and
26 deletions.
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