We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cccd3a3 commit 9768ec4Copy full SHA for 9768ec4
src/node_messaging.cc
@@ -725,7 +725,6 @@ void MessagePort::Stop() {
725
}
726
727
void MessagePort::Start(const FunctionCallbackInfo<Value>& args) {
728
- Environment* env = Environment::GetCurrent(args);
729
MessagePort* port;
730
ASSIGN_OR_RETURN_UNWRAP(&port, args.This());
731
if (!port->data_) {
@@ -735,7 +734,6 @@ void MessagePort::Start(const FunctionCallbackInfo<Value>& args) {
735
734
736
737
void MessagePort::Stop(const FunctionCallbackInfo<Value>& args) {
738
739
740
CHECK(args[0]->IsObject());
741
ASSIGN_OR_RETURN_UNWRAP(&port, args[0].As<Object>());
0 commit comments