Chromium Code Reviews
DescriptionFix a synchrony bug in barback.
Barback was assuming that certain Future operations were synchronous when in
fact they were not (issue 14323). This caused behavioral bugs in situations with
high input churn. Specifically, barback would attempt to use the synchronous
Future operations to guarantee that no changes happened between a condition
being checked and that condition being reported to the user. Since the Future
operations were not in fact synchronous, such changes were possible.
This change works around the issue by using a manual callback-passing style in
places where synchrony is important and Futures would otherwise be used.
R=alanknight@google.com
Committed: https://code.google.com/p/dart/source/detail?r=29103
Patch Set 1 #
Total comments: 6
Messages
Total messages: 5 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||