Improve connection management, re-send stuff after a connection gets closed

This commit is contained in:
Jon Staab
2024-12-16 16:09:58 -08:00
parent 887fbfc25d
commit d8005b7c10
5 changed files with 52 additions and 29 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ export class Pool extends Emitter {
const connection = this.data.get(url)
if (connection) {
connection.close()
connection.cleanup()
this.data.delete(url)
}