Cleanly disconnect from the update stream if possible
This commit is contained in:
parent
9e16306c61
commit
b81485a3d5
|
@ -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