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