Improve connection management, re-send stuff after a connection gets closed
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user