diff options
Diffstat (limited to 'src/handle_wrap.cc')
-rw-r--r-- | src/handle_wrap.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/handle_wrap.cc b/src/handle_wrap.cc index d1c132435d..9fa29623bb 100644 --- a/src/handle_wrap.cc +++ b/src/handle_wrap.cc @@ -72,7 +72,8 @@ void HandleWrap::Close(const FunctionCallbackInfo<Value>& args) { NODE_UNWRAP_NO_ABORT(args.This(), HandleWrap, wrap); // guard against uninitialized handle or double close - if (wrap == NULL || wrap->handle__ == NULL) return; + if (wrap == NULL || wrap->handle__ == NULL) + return; Environment* env = wrap->env(); assert(!wrap->persistent().IsEmpty()); |