From eebc315763ea3cf2f13b3d5fc361f522bc6866cf Mon Sep 17 00:00:00 2001 From: Pierre-Yves Bertholon Date: Tue, 17 Dec 2019 15:43:01 +0100 Subject: [PATCH 1/2] Bump version Number --- Common.xcconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common.xcconfig b/Common.xcconfig index fa04b15..70ac8ca 100644 --- a/Common.xcconfig +++ b/Common.xcconfig @@ -1,5 +1,5 @@ // Version information -MARKETING_VERSION = 2.0.0 +MARKETING_VERSION = 2.0.1 // Deployment targets IPHONEOS_DEPLOYMENT_TARGET = 9.0 From bb999ab0839e4a5714709bfcf89d49b09181ef80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20De=CC=81fago?= Date: Mon, 13 Jan 2020 12:20:33 +0100 Subject: [PATCH 2/2] Ensure network activity is always reduced when a request is deallocated --- Framework/Sources/SRGBaseRequest.m | 1 + SRGNetwork.xcodeproj/project.pbxproj | 2 +- SRGNetwork.xcodeproj/xcshareddata/xcschemes/SRGNetwork.xcscheme | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Framework/Sources/SRGBaseRequest.m b/Framework/Sources/SRGBaseRequest.m index 977c1db..b9f1dbe 100644 --- a/Framework/Sources/SRGBaseRequest.m +++ b/Framework/Sources/SRGBaseRequest.m @@ -62,6 +62,7 @@ - (instancetype)init - (void)dealloc { + self.running = NO; [self.sessionTask cancel]; } diff --git a/SRGNetwork.xcodeproj/project.pbxproj b/SRGNetwork.xcodeproj/project.pbxproj index 563087f..ce87563 100644 --- a/SRGNetwork.xcodeproj/project.pbxproj +++ b/SRGNetwork.xcodeproj/project.pbxproj @@ -371,7 +371,7 @@ 6F8A941A20FF21EB00AA6434 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1120; + LastUpgradeCheck = 1130; ORGANIZATIONNAME = "SRG SSR"; TargetAttributes = { 6F6A09F12101BD11004568BD = { diff --git a/SRGNetwork.xcodeproj/xcshareddata/xcschemes/SRGNetwork.xcscheme b/SRGNetwork.xcodeproj/xcshareddata/xcschemes/SRGNetwork.xcscheme index b31b6c6..f5b4c37 100644 --- a/SRGNetwork.xcodeproj/xcshareddata/xcschemes/SRGNetwork.xcscheme +++ b/SRGNetwork.xcodeproj/xcshareddata/xcschemes/SRGNetwork.xcscheme @@ -1,6 +1,6 @@