diff options
Diffstat (limited to 'cli/js/workers.ts')
-rw-r--r-- | cli/js/workers.ts | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/cli/js/workers.ts b/cli/js/workers.ts index 028817573..9d46ace22 100644 --- a/cli/js/workers.ts +++ b/cli/js/workers.ts @@ -160,11 +160,9 @@ export class WorkerImpl implements Worker { ); this.run(); this.isClosedPromise = hostGetWorkerClosed(this.id); - this.isClosedPromise.then( - (): void => { - this.isClosing = true; - } - ); + this.isClosedPromise.then((): void => { + this.isClosing = true; + }); } get closed(): Promise<void> { |