worker: move `receiving_messages_` field to `MessagePort` · nodejs/node@b7ed4d7 · GitHub
Skip to content

Commit b7ed4d7

Browse files
addaleaxtargos
authored andcommitted
worker: move receiving_messages_ field to MessagePort
This is a property of the native object associated with the `MessagePort`, not something that should be set on the conceptual `MessagePort` that may be transferred around. PR-URL: #27705 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 1f935f8 commit b7ed4d7

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

src/node_messaging.cc

Lines changed: 5 additions & 6 deletions

src/node_messaging.h

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)