Fix web instance log following lost on reconnect

Fix the console view of the instance web interface losing the output
subscription after a reconnect to the master server due to not
re-subscribing to the outputs.
This commit is contained in:
Hornwitser committed 2020-11-17 04:34:49 +01:00
1 parent 87da492ef8
commit e82f849118
1 file changed
+4
+4
View File
@@ -49,6 +49,10 @@ export class Control extends libLink.Link {
}
this.instanceOutputHandlers = new Map();
this.connector.on("connect", () => {
this.updateInstanceOutputSubscriptions().catch(console.error);
});
}
async instanceOutputEventHandler(message) {