fix(tasks): fix disconnect code

This commit is contained in:
DecDuck
2024-12-31 00:03:56 +11:00
parent 2cfe75a551
commit a8f21068fc

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];
}