mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-18 15:33:12 +09:00
Microoptimizations after code review
This commit is contained in:
1 parent
a939e11641
commit
f9ef2ebbe1
9 files changed
+27
-30
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user