| Index: lib/isolate/frog/isolateimpl.dart
|
| diff --git a/lib/isolate/frog/isolateimpl.dart b/lib/isolate/frog/isolateimpl.dart
|
| index 0d33dc7485f8b19050a3ea983aa189bfb4b5477b..54fd64e98fa9d8a30cabbb9915dc73850c818aa9 100644
|
| --- a/lib/isolate/frog/isolateimpl.dart
|
| +++ b/lib/isolate/frog/isolateimpl.dart
|
| @@ -140,9 +140,13 @@ class _Manager {
|
| $globalThis.onmessage = function (e) {
|
| _IsolateNatives._processWorkerMessage(this.mainManager, e);
|
| }
|
| + """;
|
| + /*: TODO: check that _processWorkerMessage is not discarded while treeshaking.
|
| """ {
|
| _IsolateNatives._processWorkerMessage(null, null);
|
| }
|
| + */
|
| +
|
|
|
| /** Close the worker running this code if all isolates are done. */
|
| void maybeCloseWorker() {
|
|
|