refs #630 Unbind delete event

This commit is contained in:
AkiraFukushima 2019-05-30 21:53:51 +09:00
parent 449fb00a74
commit 1635f7a546
1 changed files with 3 additions and 0 deletions

View File

@ -441,6 +441,7 @@ const actions: ActionTree<TimelineSpaceState, RootState> = {
unbindLocalStreaming: () => {
ipcRenderer.removeAllListeners('error-start-local-streaming')
ipcRenderer.removeAllListeners('update-start-local-streaming')
ipcRenderer.removeAllListeners('delete-start-local-streaming')
},
stopLocalStreaming: () => {
ipcRenderer.send('stop-local-streaming')
@ -448,6 +449,7 @@ const actions: ActionTree<TimelineSpaceState, RootState> = {
unbindPublicStreaming: () => {
ipcRenderer.removeAllListeners('error-start-public-streaming')
ipcRenderer.removeAllListeners('update-start-public-streaming')
ipcRenderer.removeAllListeners('delete-start-public-streaming')
},
stopPublicStreaming: () => {
ipcRenderer.send('stop-public-streaming')
@ -455,6 +457,7 @@ const actions: ActionTree<TimelineSpaceState, RootState> = {
unbindDirectMessagesStreaming: () => {
ipcRenderer.removeAllListeners('error-start-directmessages-streaming')
ipcRenderer.removeAllListeners('update-start-directmessages-streaming')
ipcRenderer.removeAllListeners('delete-start-directmessages-streaming')
},
stopDirectMessagesStreaming: () => {
ipcRenderer.send('stop-directmessages-streaming')