fix(tasks): fix disconnect code
This commit is contained in:
parent
2cfe75a551
commit
a8f21068fc
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue