Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
worker: handle detached
MessagePort
from a different context
When `worker.moveMessagePortToContext` is used, the async handle associated with the port, will be triggered more than needed (at least one more time) and with null data. That can be avoided by simply checking that the data is present and the port is not detached. Fixes: nodejs#49075 Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com>
- Loading branch information