| 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..49c0b434620aa1552e8d131628c775a362a8a0a7 100644
|
| --- a/sdk/lib/io/timer_impl.dart
|
| +++ b/sdk/lib/io/timer_impl.dart
|
| @@ -11,7 +11,7 @@ class _Timer extends LinkedListEntry<_Timer> implements Timer {
|
| // Timers are ordered by wakeup time.
|
| static LinkedList<_Timer> _timers = new LinkedList<_Timer>();
|
|
|
| - static ReceivePort _receivePort;
|
| + static RawReceivePort _receivePort;
|
| static bool _handling_callbacks = false;
|
|
|
| Function _callback;
|
| @@ -163,10 +163,7 @@ class _Timer extends LinkedListEntry<_Timer> implements Timer {
|
| }
|
|
|
| if(_receivePort == null) {
|
| - _receivePort = new ReceivePort();
|
| - _receivePort.receive((var message, ignored) {
|
| - _handleTimeout();
|
| - });
|
| + _receivePort = new RawReceivePort((_) { _handleTimeout(); });
|
| }
|
| }
|
|
|
|
|