mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 18:38:33 +00:00
fix(rumtime): Add Deno.
prefix for registered symbols (#18086)
This commit is contained in:
parent
4e8edafb39
commit
521cb4ca9b
2 changed files with 2 additions and 2 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue