Skip to content

Commit e4b087d

Browse files
committed
the actual fix
1 parent ac8dd8e commit e4b087d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/binding.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ void RunInterruptible(const FunctionCallbackInfo<Value>& args) {
9595
}
9696

9797
NODE_MODULE_INIT() {
98-
Isolate* isolate = context->GetIsolate();
98+
Isolate* isolate = Isolate::GetCurrent();
9999
exports->Set(context,
100100
String::NewFromUtf8(
101101
isolate, "runInterruptible", NewStringType::kInternalized)

0 commit comments

Comments
 (0)