| Index: third_party/pkg/js/lib/js.dart
|
| diff --git a/third_party/pkg/js/lib/js.dart b/third_party/pkg/js/lib/js.dart
|
| index 8adb099f42f82adcc5d724b2fb45365a047e2258..d1eb7acd4982ea26edad1cf20e7d2f771ec6cee0 100644
|
| --- a/third_party/pkg/js/lib/js.dart
|
| +++ b/third_party/pkg/js/lib/js.dart
|
| @@ -733,7 +733,7 @@ get _depth => _proxiedObjectTable._scopeIndices.length;
|
| void _enterScopeIfNeeded() {
|
| if (_depth == 0) {
|
| var depth = _enterScope();
|
| - runAsync(() => _exitScope(depth));
|
| + scheduleMicrotask(() => _exitScope(depth));
|
| }
|
| }
|
|
|
|
|