Update BitchatApp.swift

Co-authored-by: asmo <asmogo@protonmail.com>
This commit is contained in:
jack
2025-09-11 16:42:13 +02:00
committed by GitHub
co-authored by asmo
parent 10be302854
commit 789bbf6862
+1
View File
@@ -68,6 +68,7 @@ struct BitchatApp: App {
}
// Proactively disconnect Nostr to avoid spurious socket errors while Tor is down
NostrRelayManager.shared.disconnect()
didEnterBackground = true
break
case .active:
// Restart services when becoming active