diff --git a/AppStoreImages/iOS/iPhone/1.pxd/metadata.info b/AppStoreImages/iOS/iPhone/1.pxd/metadata.info index 07c9c55..5af4e0c 100644 Binary files a/AppStoreImages/iOS/iPhone/1.pxd/metadata.info and b/AppStoreImages/iOS/iPhone/1.pxd/metadata.info differ diff --git a/AppStoreImages/iOS/iPhone/2.pxd/metadata.info b/AppStoreImages/iOS/iPhone/2.pxd/metadata.info index 02e4385..e3c59a4 100644 Binary files a/AppStoreImages/iOS/iPhone/2.pxd/metadata.info and b/AppStoreImages/iOS/iPhone/2.pxd/metadata.info differ diff --git a/AppStoreImages/iOS/iPhone/4.pxd/metadata.info b/AppStoreImages/iOS/iPhone/4.pxd/metadata.info index f3beb2c..ab0705f 100644 Binary files a/AppStoreImages/iOS/iPhone/4.pxd/metadata.info and b/AppStoreImages/iOS/iPhone/4.pxd/metadata.info differ diff --git a/NearbyShare/Connection/NearbyConnection.swift b/NearbyShare/Connection/NearbyConnection.swift index da4ac2c..3ee99be 100644 --- a/NearbyShare/Connection/NearbyConnection.swift +++ b/NearbyShare/Connection/NearbyConnection.swift @@ -164,6 +164,8 @@ class NearbyConnection { private func receiveFrameAsync() { connection.receive(minimumIncompleteLength: 4, maximumLength: 4) { content, _, isComplete, error in if self.connectionClosed { + log("[NearbyConnection \(self.id)] Received FIN from peer, connection closed.") + self.connection.cancel() return } if isComplete { @@ -201,6 +203,8 @@ class NearbyConnection { private func receiveFrameAsync(length: UInt32) { connection.receive(minimumIncompleteLength: Int(length), maximumLength: Int(length)) { [self] content, _, isComplete, _ in if self.connectionClosed { + log("[NearbyConnection \(self.id)] Received FIN from peer, connection closed.") + connection.cancel() return } if isComplete { diff --git a/QuickDrop.xcodeproj/project.pbxproj b/QuickDrop.xcodeproj/project.pbxproj index 414c1c9..dfd58a9 100644 --- a/QuickDrop.xcodeproj/project.pbxproj +++ b/QuickDrop.xcodeproj/project.pbxproj @@ -1239,7 +1239,7 @@ MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; - SHARED_BUILD = 75; + SHARED_BUILD = 76; SHARED_VERSION = 2.4.2; STRING_CATALOG_GENERATE_SYMBOLS = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; @@ -1302,7 +1302,7 @@ MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; SDKROOT = macosx; - SHARED_BUILD = 75; + SHARED_BUILD = 76; SHARED_VERSION = 2.4.2; STRING_CATALOG_GENERATE_SYMBOLS = YES; SWIFT_COMPILATION_MODE = wholemodule;