forked from TWS/kalkutago
Cleanly disconnect from the update stream if possible
This commit is contained in:
parent
7d4dcf15c1
commit
9c255b5f68
|
@ -49,6 +49,7 @@ export const state = reactive({
|
|||
error(event)
|
||||
window.location = window.location
|
||||
})
|
||||
window.addEventListener('beforeunload', () => source.close())
|
||||
},
|
||||
async repopulate() {
|
||||
this.state = State.Fetching
|
||||
|
|
Loading…
Reference in a new issue