| Index: lib/runtime/dart/isolate.js
|
| diff --git a/lib/runtime/dart/isolate.js b/lib/runtime/dart/isolate.js
|
| index c265704d4b3b189fb7ec3fc4fce854f2e9701579..c6b64f0a0a5cb9ceb9996cb4d6c8fb24dd8bd355 100644
|
| --- a/lib/runtime/dart/isolate.js
|
| +++ b/lib/runtime/dart/isolate.js
|
| @@ -14,6 +14,7 @@ var isolate;
|
| return `IsolateSpawnException: ${this.message}`;
|
| }
|
| }
|
| + let _currentIsolateCache = Symbol('_currentIsolateCache');
|
| let _pause = Symbol('_pause');
|
| class Isolate extends core.Object {
|
| Isolate(controlPort, opts) {
|
| @@ -24,7 +25,7 @@ var isolate;
|
| this.terminateCapability = terminateCapability;
|
| }
|
| static get current() {
|
| - return _currentIsolateCache;
|
| + return Isolate[_currentIsolateCache];
|
| }
|
| static spawn(entryPoint, message, opts) {
|
| let paused = opts && 'paused' in opts ? opts.paused : false;
|
|
|