We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4a5657 commit f3679b3Copy full SHA for f3679b3
Sources/Instrumentation/URLSession/URLSessionInstrumentation.swift
@@ -463,6 +463,7 @@ public class URLSessionInstrumentation {
463
464
var originalIMP: IMP?
465
let block: @convention(block) (URLSessionTask) -> Void = { anyTask in
466
+ guard anyTask.responds(to: #selector(getter: URLSessionTask.currentRequest)) else { return }
467
self.urlSessionTaskWillResume(anyTask)
468
guard anyTask.currentRequest != nil else { return }
469
let key = String(theMethod.hashValue)
0 commit comments