Skip to content

Commit

Permalink
Also add iOS 9 to availability checker
Browse files Browse the repository at this point in the history
  • Loading branch information
designatednerd committed Sep 10, 2020
1 parent 0121af1 commit a764aa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Apollo/URLSessionClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegat
}

let currentTaskIDs = self.tasks.value.keys
if #available(OSX 10.11, *) {
if #available(OSX 10.11, iOS 9.0, *) {
session.getAllTasks { [weak self] tasks in
for task in tasks {
if currentTaskIDs.contains(task.taskIdentifier) {
Expand Down

0 comments on commit a764aa0

Please sign in to comment.