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

Commit 49dcbd3

Browse files
committed
chore: fix a small bug
1 parent f181bbd commit 49dcbd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/workers/src/worker/pipes/worker.pipe.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ export class WorkerPipe implements PipeTransform, OnDestroy {
1616
if (this.fn !== fn) {
1717
this.terminate();
1818
this.initNewWorker(fn);
19-
20-
this.worker.postMessage(value);
2119
}
2220

21+
this.worker.postMessage(value);
22+
2323
return this.observer;
2424
}
2525

0 commit comments

Comments
 (0)