Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! src: move HTTP/2 state out of Environment
  • Loading branch information
addaleax committed Apr 2, 2020
commit 38e471c9f652ff3fa5e7f44fcd7f137576bdea8f
2 changes: 1 addition & 1 deletion src/node_http2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2938,8 +2938,8 @@ void Initialize(Local<Object> target,
HandleScope handle_scope(isolate);

Environment::BindingScope<Http2State> binding_scope(env);
if (!binding_scope) return;
Http2State* state = binding_scope.data;
if (state == nullptr) return;

#define SET_STATE_TYPEDARRAY(name, field) \
target->Set(context, \
Expand Down