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

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

Issue 27215002: Very simple version of Isolates. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase Created 7 years, 2 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
Index: sdk/lib/io/timer_impl.dart
diff --git a/sdk/lib/io/timer_impl.dart b/sdk/lib/io/timer_impl.dart
index 4939a629bd0b6a1f67c0c5371dc7166489063e9e..1b233acc07059b634f3b8862024883d68d2cef0b 100644
--- a/sdk/lib/io/timer_impl.dart
+++ b/sdk/lib/io/timer_impl.dart
@@ -164,7 +164,7 @@ class _Timer extends LinkedListEntry<_Timer> implements Timer {
if(_receivePort == null) {
_receivePort = new ReceivePort();
- _receivePort.receive((var message, ignored) {
+ _receivePort.listen((var message) {
_handleTimeout();
});
}

Powered by Google App Engine
This is Rietveld 408576698