1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2025-01-31 17:45:22 +01:00

refs #920 Unbind streaming for mentions when change accounts

This commit is contained in:
AkiraFukushima 2019-05-22 00:45:10 +09:00
parent 04673e00c0
commit 011b226fbd

View File

@ -415,6 +415,7 @@ const actions: ActionTree<TimelineSpaceState, RootState> = {
},
unbindUserStreaming: () => {
ipcRenderer.removeAllListeners('update-start-user-streaming')
ipcRenderer.removeAllListeners('mention-start-user-streaming')
ipcRenderer.removeAllListeners('notification-start-user-streaming')
ipcRenderer.removeAllListeners('error-start-user-streaming')
},