Index: runtime/bin/file_impl.dart |
diff --git a/runtime/bin/file_impl.dart b/runtime/bin/file_impl.dart |
index 98f35d07ba8715cb0e1a306ef1a57530e5815b76..8ab5bbbf29afdd5e61c5212dd2c4bdf2f46cc393 100644 |
--- a/runtime/bin/file_impl.dart |
+++ b/runtime/bin/file_impl.dart |
@@ -1021,9 +1021,9 @@ class _RandomAccessFile implements RandomAccessFile { |
void set onNoPendingWrites(void handler()) { |
_onNoPendingWrites = handler; |
if (_pendingWrites == 0) { |
- _noPendingWriteTimer = new Timer((t) { |
+ _noPendingWriteTimer = new Timer(0, (t) { |
if (_onNoPendingWrites != null) _onNoPendingWrites(); |
- }, 0); |
+ }); |
} |
} |