| Index: tools/dom/src/Timer.dart
|
| diff --git a/tools/dom/src/Timer.dart b/tools/dom/src/Timer.dart
|
| index b3e6bf44ce72f0022ae411627f91f83e202ceb5a..43a208afe0a43f0a43360e1361ec6cc656f1d36b 100644
|
| --- a/tools/dom/src/Timer.dart
|
| +++ b/tools/dom/src/Timer.dart
|
| @@ -52,7 +52,9 @@ class _PureIsolateTimer implements Timer {
|
|
|
| void cancel() {
|
| _cancel();
|
| - _HELPER_ISOLATE_PORT.send([_CANCEL_TIMER], _sendPort);
|
| + _HELPER_ISOLATE_PORT.then((port) {
|
| + port.send([_CANCEL_TIMER], _sendPort);
|
| + });
|
| }
|
|
|
| void _cancel() {
|
|
|