We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a246689 commit f938ef7Copy full SHA for f938ef7
src/handle_wrap.cc
@@ -39,7 +39,6 @@ void HandleWrap::Unref(const FunctionCallbackInfo<Value>& args) {
39
40
41
void HandleWrap::IsRefed(const FunctionCallbackInfo<Value>& args) {
42
- Environment* env = Environment::GetCurrent(args);
43
HandleWrap* wrap = Unwrap<HandleWrap>(args.Holder());
44
45
bool refed = IsAlive(wrap) && (wrap->flags_ & kUnref) == 0;
0 commit comments