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
1 changed files with 1 additions and 0 deletions

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')
},