send message when websocket open and clear store cache on reset

This commit is contained in:
Matt Hill
2021-08-23 15:04:49 -06:00
committed by Aiden McClelland
parent b34557e8d3
commit a72c1c5499
3 changed files with 2 additions and 5 deletions

View File

@@ -50,6 +50,7 @@ export class Store<T extends { [key: string]: any }> {
reset (): void {
Object.values(this.watchedNodes).forEach(node => node.complete())
this.watchedNodes = { }
this.stash.clear()
}