Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit a0d5d82

Browse files
jbdeboertravis@travis-ci.org
authored and
travis@travis-ci.org
committed
fix(VmTurnZone): Remove a unneeded delegate.run() call.
1 parent c2cb3b5 commit a0d5d82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/core/zone.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ class VmTurnZone {
140140
delegate.run(zone, onTurnStart);
141141
}
142142
while (!_asyncQueue.isEmpty) {
143-
delegate.run(zone, _asyncQueue.removeAt(0));
143+
_asyncQueue.removeAt(0)();
144144
}
145145
delegate.run(zone, onTurnDone);
146146
_currentlyInTurn = false;

0 commit comments

Comments
 (0)