fix: 🐛
This commit is contained in:
parent
b5174df32c
commit
35e5f18424
2 changed files with 8 additions and 5 deletions
|
|
@ -292,9 +292,13 @@ class ClientService extends EventTarget {
|
|||
onEvents = () => {}
|
||||
onNew = () => {}
|
||||
subPromises.forEach((subPromise) => {
|
||||
subPromise.then((sub) => {
|
||||
sub.close()
|
||||
})
|
||||
subPromise
|
||||
.then((sub) => {
|
||||
sub.close()
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err)
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue