Index: runtime/lib/timer_impl.dart |
diff --git a/runtime/lib/timer_impl.dart b/runtime/lib/timer_impl.dart |
index 4df37cd87748313744415dd28ccdafa474872f30..2c5674572d7a9e2509c65bfadf9b6e93caeb0cc5 100644 |
--- a/runtime/lib/timer_impl.dart |
+++ b/runtime/lib/timer_impl.dart |
@@ -396,7 +396,10 @@ class _Timer implements Timer { |
timer._addTimerToHeap(); |
} |
// Execute pending micro tasks. |
- _runPendingImmediateCallback(); |
+ var immediateCallback = _removePendingImmediateCallback(); |
+ if (immediateCallback != null) { |
+ immediateCallback(); |
+ } |
} |
} |
} finally { |