mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-11 02:51:11 +00:00
Comments
This commit is contained in:
1 parent
c68ca3376b
commit
98da599302
1 file changed
+1
@@ -84,6 +84,7 @@ class NearbyConnection {
|
||||
self.lastError = err
|
||||
log("Connection Error: \(err)")
|
||||
|
||||
// If the error is a connection reset, it could be due to firewall issues.
|
||||
if err == .posix(.ENOTCONN) {
|
||||
ConnectionFailureTracker.shared.recordFailure {
|
||||
NearbyConnectionManager.shared.mainAppDelegate?.showFirewallAlert()
|
||||
|
||||
Reference in new issue
Block a user