This commit is contained in:
Thomas Nordquist
2019-01-22 12:26:57 +01:00
parent d4ce58a8ec
commit c2345a17ba
4 changed files with 2 additions and 22 deletions

View File

@@ -70,7 +70,6 @@ class IpcRendererEventBus implements EventBusInterface {
}
public unsubscribe<MessageType>(event: Event<MessageType>, callback: any) {
debugger
const item = this.callbacks.find(store => store.callback === callback)
if (!item) {
return