repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps-dev): apply updates
[poolifier.git]
/
src
/
pools
/
thread
/
fixed.ts
diff --git
a/src/pools/thread/fixed.ts
b/src/pools/thread/fixed.ts
index bf111d39482528c4078f13e5c76557d565895f7f..ddda04b113ec9028b0cd24c8f53001d12714a901 100644
(file)
--- a/
src/pools/thread/fixed.ts
+++ b/
src/pools/thread/fixed.ts
@@
-82,7
+82,7
@@
export class FixedThreadPool<
): void {
(
this.workerNodes[workerNodeKey]?.messageChannel as MessageChannel
): void {
(
this.workerNodes[workerNodeKey]?.messageChannel as MessageChannel
- )
.port1
.postMessage(
+ )
?.port1?
.postMessage(
{ ...message, workerId: this.getWorkerInfo(workerNodeKey).id },
transferList
)
{ ...message, workerId: this.getWorkerInfo(workerNodeKey).id },
transferList
)