diff --git a/src/udp_wrap.cc b/src/udp_wrap.cc index 98399155a84fef..4a37aadc662422 100644 --- a/src/udp_wrap.cc +++ b/src/udp_wrap.cc @@ -169,7 +169,6 @@ void UDPWrap::New(const FunctionCallbackInfo& args) { void UDPWrap::GetFD(Local, const PropertyCallbackInfo& args) { int fd = UV_EBADF; #if !defined(_WIN32) - HandleScope scope(args.GetIsolate()); UDPWrap* wrap = Unwrap(args.Holder()); if (wrap != nullptr) uv_fileno(reinterpret_cast(&wrap->handle_), &fd);