Skip to content

Commit

Permalink
browser: make worker proxy eternal.
Browse files Browse the repository at this point in the history
  • Loading branch information
chjj committed Mar 14, 2019
1 parent 0cbcc12 commit 3947a98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/browser/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ class Worker extends EventEmitter {
revokeWorkerURL(url);

this._proxy = new EventProxy(this._worker, true);
this._proxy.eternal = true;

this._proxy.watch(this, ['message', 'error', 'online', 'exit']);

Expand Down

0 comments on commit 3947a98

Please sign in to comment.