mirror of
https://github.com/denoland/deno.git
synced 2025-10-01 06:31:15 +00:00
fix(cli): dispatch unload on exit (#9088)
This commit is contained in:
parent
5c6ab75de1
commit
fd56fa89f3
4 changed files with 13 additions and 0 deletions
4
cli/tests/078_unload_on_exit.ts
Normal file
4
cli/tests/078_unload_on_exit.ts
Normal file
|
@ -0,0 +1,4 @@
|
|||
window.onunload = () => {
|
||||
console.log("onunload is called");
|
||||
};
|
||||
Deno.exit(0);
|
Loading…
Add table
Add a link
Reference in a new issue