Skip to content
This repository has been archived by the owner on May 29, 2023. It is now read-only.

Commit

Permalink
chore: fix a small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
IKatsuba committed Nov 26, 2020
1 parent f181bbd commit 49dcbd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/workers/src/worker/pipes/worker.pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ export class WorkerPipe implements PipeTransform, OnDestroy {
if (this.fn !== fn) {
this.terminate();
this.initNewWorker(fn);

this.worker.postMessage(value);
}

this.worker.postMessage(value);

return this.observer;
}

Expand Down

0 comments on commit 49dcbd3

Please sign in to comment.