mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-22 06:15:59 +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
|
self.lastError = err
|
||||||
log("Connection Error: \(err)")
|
log("Connection Error: \(err)")
|
||||||
|
|
||||||
|
// If the error is a connection reset, it could be due to firewall issues.
|
||||||
if err == .posix(.ENOTCONN) {
|
if err == .posix(.ENOTCONN) {
|
||||||
ConnectionFailureTracker.shared.recordFailure {
|
ConnectionFailureTracker.shared.recordFailure {
|
||||||
NearbyConnectionManager.shared.mainAppDelegate?.showFirewallAlert()
|
NearbyConnectionManager.shared.mainAppDelegate?.showFirewallAlert()
|
||||||
|
|||||||
Reference in new issue
Block a user