mirror of
https://github.com/coracle-social/coracle.git
synced 2024-09-30 00:41:12 +00:00
Fix error?
This commit is contained in:
parent
658911ce9f
commit
a55336786b
@ -67,7 +67,10 @@ class Connection {
|
||||
}
|
||||
async disconnect() {
|
||||
this.status = 'closed'
|
||||
await this.nostr.close()
|
||||
|
||||
if (this.nostr) {
|
||||
await this.nostr.close()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user