fix(rumtime): Add Deno. prefix for registered symbols (#18086)

This commit is contained in:
Kenta Moriuchi 2023-03-09 13:09:40 +09:00 committed by GitHub
parent 4e8edafb39
commit 521cb4ca9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -61,7 +61,7 @@ function exit(code) {
}
// Dispatches `unload` only when it's not dispatched yet.
if (!globalThis[SymbolFor("isUnloadDispatched")]) {
if (!globalThis[SymbolFor("Deno.isUnloadDispatched")]) {
// Invokes the `unload` hooks before exiting
// ref: https://github.com/denoland/deno/issues/3603
windowDispatchEvent(new Event("unload"));