mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-04-06 16:29:24 +00:00
unload video data on leaving
This commit is contained in:
parent
0ef860d015
commit
fc6029bf64
1 changed files with 1 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ window.onbeforeunload = () => {
|
|||
client.torrents[0] ? client.torrents[0].store.destroy() : ""
|
||||
client.torrents[0] ? client.torrents[0].destroy() : ""
|
||||
client.destroy()
|
||||
resetVideo()
|
||||
}
|
||||
|
||||
const announceList = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue