diff options
Diffstat (limited to 'src/node_messaging.cc')
-rw-r--r-- | src/node_messaging.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/node_messaging.cc b/src/node_messaging.cc index 345c496ecf..21e0191c12 100644 --- a/src/node_messaging.cc +++ b/src/node_messaging.cc @@ -729,7 +729,6 @@ void MessagePort::Start(const FunctionCallbackInfo<Value>& args) { MessagePort* port; ASSIGN_OR_RETURN_UNWRAP(&port, args.This()); if (!port->data_) { - THROW_ERR_CLOSED_MESSAGE_PORT(env); return; } port->Start(); @@ -741,7 +740,6 @@ void MessagePort::Stop(const FunctionCallbackInfo<Value>& args) { CHECK(args[0]->IsObject()); ASSIGN_OR_RETURN_UNWRAP(&port, args[0].As<Object>()); if (!port->data_) { - THROW_ERR_CLOSED_MESSAGE_PORT(env); return; } port->Stop(); |