diff --git a/src/node_snapshotable.cc b/src/node_snapshotable.cc index cfd1bcc3d2f..7ea49e74127 100644 --- a/src/node_snapshotable.cc +++ b/src/node_snapshotable.cc @@ -982,6 +982,8 @@ ExitCode BuildSnapshotWithoutCodeCache( } Isolate* isolate = setup->isolate(); + v8::Locker locker(isolate); + { HandleScope scope(isolate); TryCatch bootstrapCatch(isolate);