Skip to content

Commit a1e14c0

Browse files
committed
Merge branch 'release/2.0.7'
2 parents 183c9d5 + 1cfea4e commit a1e14c0

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

Sources/SwiftLocation/LocationRequest.swift

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,10 @@ public class LocationRequest: Request {
264264
}
265265

266266
// Remove request from queue if some conditions are verified
267-
stopRequestIfNeeded()
268-
// Stop and restart timeout timer if needed
269-
startTimeout()
267+
if stopRequestIfNeeded() == false {
268+
// Stop and restart timeout timer if needed
269+
startTimeout()
270+
}
270271
}
271272

272273
private func isValidMinimumDistance(_ loc: CLLocation) -> Bool {

SwiftLocation.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'SwiftLocation'
3-
s.version = '2.0.6'
3+
s.version = '2.0.7'
44
s.license = 'MIT'
55
s.summary = 'Efficent and Easy Location Monitoring in Swift'
66
s.homepage = 'https://github.com/malcommac/SwiftLocation'

SwiftLocation/SwiftLocation.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@
451451
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
452452
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
453453
COPY_PHASE_STRIP = NO;
454-
CURRENT_PROJECT_VERSION = 6;
454+
CURRENT_PROJECT_VERSION = 7;
455455
DEBUG_INFORMATION_FORMAT = dwarf;
456456
ENABLE_STRICT_OBJC_MSGSEND = YES;
457457
ENABLE_TESTABILITY = YES;
@@ -504,7 +504,7 @@
504504
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
505505
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
506506
COPY_PHASE_STRIP = NO;
507-
CURRENT_PROJECT_VERSION = 6;
507+
CURRENT_PROJECT_VERSION = 7;
508508
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
509509
ENABLE_NS_ASSERTIONS = NO;
510510
ENABLE_STRICT_OBJC_MSGSEND = YES;

0 commit comments

Comments
 (0)