There was an error while loading. Please reload this page.
1 parent ac8dd8e commit e4b087dCopy full SHA for e4b087d
1 file changed
src/binding.cc
@@ -95,7 +95,7 @@ void RunInterruptible(const FunctionCallbackInfo<Value>& args) {
95
}
96
97
NODE_MODULE_INIT() {
98
- Isolate* isolate = context->GetIsolate();
+ Isolate* isolate = Isolate::GetCurrent();
99
exports->Set(context,
100
String::NewFromUtf8(
101
isolate, "runInterruptible", NewStringType::kInternalized)
0 commit comments