mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-01-31 15:37:09 +01:00
fix(tasks): fix disconnect code
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user