fix(tasks): fix disconnect code

This commit is contained in:
DecDuck 2024-12-31 00:03:56 +11:00
parent 2cfe75a551
commit a8f21068fc
No known key found for this signature in database
GPG key ID: 3999E3EFEC9EEB74

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