mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2025-02-05 03:38:55 +01:00
refs #24 Remove ipcRenderer listeners when destroyed timeline space
This commit is contained in:
parent
847648fd5d
commit
4f47a79bf7
@ -94,7 +94,9 @@ const TimelineSpace = {
|
||||
})
|
||||
},
|
||||
stopUserStreaming ({ commit }) {
|
||||
// TODO: remove ipcRenderer listeners
|
||||
ipcRenderer.removeAll('update-start-user-streaming')
|
||||
ipcRenderer.removeAll('notification-start-user-streaming')
|
||||
ipcRenderer.removeAll('error-start-user-streaming')
|
||||
ipcRenderer.send('stop-user-streaming')
|
||||
},
|
||||
watchShortcutEvents ({ commit }, account) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user