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

@@ -1,4 +1,4 @@
import { Edge, TreeNode } from './'
import { TreeNode } from './'
import { EventBusInterface, makeConnectionMessageEvent, MqttMessage } from '../../../events'
import { TreeNodeFactory } from './TreeNodeFactory'
@@ -40,7 +40,6 @@ export class Tree extends TreeNode {
public stopUpdating() {
if (this.subscriptionEvent && this.updateSource) {
console.log(this.updateSource.ipc)
this.updateSource.unsubscribe(this.subscriptionEvent, this.handleNewData)
}
}