fix(tasks): fix disconnect code

This commit is contained in:
DecDuck
2024-12-31 00:03:56 +11:00
parent 2cfe75a551
commit a8f21068fc
+1 -1
View File
@@ -112,7 +112,7 @@ class TaskHandler {
} }
disconnectAll(id: string) { disconnectAll(id: string) {
for (const [taskId] of Object.keys(this.taskRegistry)) { for (const taskId of Object.keys(this.taskRegistry)) {
delete this.taskRegistry[taskId].clients[id]; delete this.taskRegistry[taskId].clients[id];
} }