Skip to content
Closed
Prev Previous commit
Next Next commit
[squash] fix debug build
  • Loading branch information
addaleax committed Mar 14, 2018
commit 551db4dc5afa047812899117df69cdc2bf271f9a
1 change: 1 addition & 0 deletions src/stream_pipe.cc
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ void StreamPipe::Unpipe() {

// Delay the JS-facing part with SetImmediate, because this might be from
// inside the garbage collector, so we can’t run JS here.
HandleScope handle_scope(env()->isolate());
env()->SetImmediate([](Environment* env, void* data) {
StreamPipe* pipe = static_cast<StreamPipe*>(data);

Expand Down