We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cbe7864 + 59083ce commit 91ac4fdCopy full SHA for 91ac4fd
src/workerd/io/worker.c++
@@ -1534,7 +1534,7 @@ kj::Maybe<jsg::JsObject> tryResolveMainModule(jsg::Lock& js,
1534
// The V8 module API is weird. Only the first call to Evaluate() will evaluate the
1535
// module, even if subsequent calls pass a different context. Verify that we didn't
1536
// switch contexts.
1537
- KJ_ASSERT(jsg::check(ns->GetCreationContext()) == js.v8Context(),
+ KJ_ASSERT(jsg::check(ns->GetCreationContext(js.v8Isolate)) == js.v8Context(),
1538
"module was originally instantiated in a different context");
1539
1540
return jsg::JsObject(ns);
0 commit comments