| Index: runtime/bin/file_impl.dart
|
| diff --git a/runtime/bin/file_impl.dart b/runtime/bin/file_impl.dart
|
| index b3691606c0638c469f123f86cf7c37fdddb500b7..8cc8745113605a4fd15c3e5689cff98bb527681a 100644
|
| --- a/runtime/bin/file_impl.dart
|
| +++ b/runtime/bin/file_impl.dart
|
| @@ -690,7 +690,7 @@ class _RandomAccessFile implements RandomAccessFile {
|
| void close() {
|
| _asyncUsed = true;
|
| var handler = (_closeHandler != null) ? _closeHandler : () => null;
|
| - var handleOpenResult = (result, ignored) {
|
| + var handleCloseResult = (result, ignored) {
|
| if (result != -1) {
|
| _id = result;
|
| handler();
|
| @@ -699,7 +699,7 @@ class _RandomAccessFile implements RandomAccessFile {
|
| }
|
| };
|
| var operation = new _CloseOperation(_id);
|
| - _scheduler.enqueue(operation, handleOpenResult);
|
| + _scheduler.enqueue(operation, handleCloseResult);
|
| }
|
|
|
| void closeSync() {
|
|
|