We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a2317d commit 38e471cCopy full SHA for 38e471c
1 file changed
src/node_http2.cc
@@ -2938,8 +2938,8 @@ void Initialize(Local<Object> target,
2938
HandleScope handle_scope(isolate);
2939
2940
Environment::BindingScope<Http2State> binding_scope(env);
2941
+ if (!binding_scope) return;
2942
Http2State* state = binding_scope.data;
- if (state == nullptr) return;
2943
2944
#define SET_STATE_TYPEDARRAY(name, field) \
2945
target->Set(context, \
0 commit comments