File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 13
13
@_exported import Dispatch
14
14
15
15
import CoreFoundation
16
+ @_exported import Dispatch
16
17
17
18
/// The `NSObjectProtocol` groups methods that are fundamental to all Foundation objects.
18
19
///
Original file line number Diff line number Diff line change @@ -190,6 +190,7 @@ open class URLSession : NSObject {
190
190
fileprivate var nextTaskIdentifier = 1
191
191
internal let workQueue : DispatchQueue
192
192
internal let taskRegistry = URLSession . _TaskRegistry ( )
193
+ fileprivate let identiferLock = NSLock ( )
193
194
fileprivate let identifier : Int32
194
195
fileprivate var invalidated = false
195
196
fileprivate static let registerProtocols : ( ) = {
@@ -395,8 +396,6 @@ extension URLSession._Request {
395
396
}
396
397
397
398
fileprivate extension URLSession {
398
- static let identiferLock = NSLock ( )
399
-
400
399
func createNextTaskIdentifier( ) -> Int {
401
400
return workQueue. sync {
402
401
let i = nextTaskIdentifier
You can’t perform that action at this time.
0 commit comments