1
0
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:
AkiraFukushima 2018-03-14 14:54:41 +09:00
parent 847648fd5d
commit 4f47a79bf7

View File

@ -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) {