Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Unified Diff: sdk/lib/io/timer_impl.dart

Issue 22901017: Always initialize the EventHandler in the standalone. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Simplify impl and don't call Stop (other isolates may still be running). Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« runtime/bin/eventhandler_macos.cc ('K') | « sdk/lib/io/eventhandler.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/timer_impl.dart
diff --git a/sdk/lib/io/timer_impl.dart b/sdk/lib/io/timer_impl.dart
index 6e56e3e1550a413549cfe5f0da4b0b86f1b78437..4939a629bd0b6a1f67c0c5371dc7166489063e9e 100644
--- a/sdk/lib/io/timer_impl.dart
+++ b/sdk/lib/io/timer_impl.dart
@@ -21,7 +21,6 @@ class _Timer extends LinkedListEntry<_Timer> implements Timer {
static Timer _createTimer(void callback(Timer timer),
int milliSeconds,
bool repeating) {
- _EventHandler._start();
_Timer timer = new _Timer._internal();
timer._callback = callback;
timer._wakeupTime =
« runtime/bin/eventhandler_macos.cc ('K') | « sdk/lib/io/eventhandler.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698