From 1635f7a5465d7494296838268c25eaa573a7dd77 Mon Sep 17 00:00:00 2001
From: AkiraFukushima
Date: Thu, 30 May 2019 21:53:51 +0900
Subject: [PATCH] refs #630 Unbind delete event
---
src/renderer/store/TimelineSpace.ts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/renderer/store/TimelineSpace.ts b/src/renderer/store/TimelineSpace.ts
index 630f8476..01edf8b1 100644
--- a/src/renderer/store/TimelineSpace.ts
+++ b/src/renderer/store/TimelineSpace.ts
@@ -441,6 +441,7 @@ const actions: ActionTree = {
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 = {
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 = {
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')