Microoptimizations after code review

This commit is contained in:
Daniel committed 2021-07-12 22:05:54 +02:00
1 parent a939e11641
commit f9ef2ebbe1
9 files changed
+27 -30

No files matched your search

-6
View File
@@ -273,12 +273,6 @@ export class Control extends libLink.Link {
handler(info);
}
}
if (info.slave_id !== undefined) {
let slaveHandlers = this.slaveLogHandlers.get(info.slave_id);
for (let handler of slaveHandlers || []) {
handler(info);
}
}
}
async onInstanceLog(id, handler) {