mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-25 18:05:19 +00:00
@@ -68,6 +68,7 @@ struct BitchatApp: App {
|
|||||||
}
|
}
|
||||||
// Proactively disconnect Nostr to avoid spurious socket errors while Tor is down
|
// Proactively disconnect Nostr to avoid spurious socket errors while Tor is down
|
||||||
NostrRelayManager.shared.disconnect()
|
NostrRelayManager.shared.disconnect()
|
||||||
|
didEnterBackground = true
|
||||||
break
|
break
|
||||||
case .active:
|
case .active:
|
||||||
// Restart services when becoming active
|
// Restart services when becoming active
|
||||||
|
|||||||
Reference in New Issue
Block a user