Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions NativeScript/napi/v8/jsr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,9 @@ napi_status js_free_runtime(jsr_ns_runtime runtime) {
v8::Locker locker(jsr->isolate);
// The ES module cache holds thread-local Globals per isolate. Release them
// now; left to thread exit, they would be reset against a disposed isolate.
#ifndef __ANDROID__
v8impl::CleanupESModuleSystem(jsr->isolate);
#endif
while (v8::Isolate::GetCurrent() == jsr->isolate) {
jsr->isolate->Exit();
}
Expand Down
Loading