File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ public struct NKSession: Sendable {
101101 sessionDownloadBackground = URLSession ( configuration: configurationDownloadBackground, delegate: backgroundSessionDelegate, delegateQueue: OperationQueue . main)
102102
103103 // Session Download Background Extension
104- let configurationDownloadBackgroundExt = URLSessionConfiguration . background ( withIdentifier: NKCommon ( ) . identifierSessionDownloadBackgroundExt)
104+ let configurationDownloadBackgroundExt = URLSessionConfiguration . background ( withIdentifier: NKCommon ( ) . identifierSessionDownloadBackgroundExt + UUID ( ) . uuidString )
105105 configurationDownloadBackgroundExt. allowsCellularAccess = true
106106
107107 if #available( macOS 11 , * ) {
@@ -154,7 +154,7 @@ public struct NKSession: Sendable {
154154 sessionUploadBackgroundWWan = URLSession ( configuration: configurationUploadBackgroundWWan, delegate: backgroundSessionDelegate, delegateQueue: OperationQueue . main)
155155
156156 // Session Upload Background Extension
157- let configurationUploadBackgroundExt = URLSessionConfiguration . background ( withIdentifier: NKCommon ( ) . identifierSessionUploadBackgroundExt)
157+ let configurationUploadBackgroundExt = URLSessionConfiguration . background ( withIdentifier: NKCommon ( ) . identifierSessionUploadBackgroundExt + UUID ( ) . uuidString )
158158 configurationUploadBackgroundExt. allowsCellularAccess = true
159159
160160 if #available( macOS 11 , * ) {
You can’t perform that action at this time.
0 commit comments