fix: 🐛

This commit is contained in:
codytseng
2024-12-24 14:40:09 +08:00
parent b5174df32c
commit 35e5f18424
2 changed files with 8 additions and 5 deletions

View File

@@ -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)
})
})
}
}