fix(tasks): fix disconnect code

This commit is contained in:
DecDuck
2024-12-31 00:03:56 +11:00
parent 2bc7c78044
commit 4a7d2b821f
+1 -1
View File
@@ -112,7 +112,7 @@ class TaskHandler {
}
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];
}