mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-09 08:38:50 +00:00
pool: closed relays must be eliminated.
This commit is contained in:
@@ -319,6 +319,7 @@ export class AbstractRelay {
|
||||
this.closeAllSubscriptions('relay connection closed by us')
|
||||
this._connected = false
|
||||
this.ws?.close()
|
||||
this.onclose?.()
|
||||
}
|
||||
|
||||
// this is the function assigned to this.ws.onmessage
|
||||
|
||||
Reference in New Issue
Block a user