Skip to content

Commit

Permalink
Merge pull request #301 from cryptomator/bugfix/webdav_memory_limit_c…
Browse files Browse the repository at this point in the history
…rash

Manually resume URLSessionTask after it has been successfully registered
  • Loading branch information
tobihagemann committed Feb 2, 2023
2 parents 36e08d4 + f2f1f0f commit 9032f90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CryptomatorFileProvider/FileProviderAdapter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ public class FileProviderAdapter: FileProviderAdapterType {
DDLogError("Register URLSessionUploadTask for identifier: \(itemIdentifier) failed with error: \(error)")
} else {
DDLogInfo("Successfully registered URLSessionUploadTask for identifier: \(itemIdentifier)")
urlSessionTask.resume()
}
})
})
Expand Down Expand Up @@ -717,6 +718,7 @@ public class FileProviderAdapter: FileProviderAdapterType {
DDLogError("Register URLSessionTask for identifier: \(identifier) failed with error: \(error)")
} else {
DDLogInfo("Successfully registered URLSessionTask for identifier: \(identifier)")
urlSessionTask.resume()
}
})
})
Expand Down

0 comments on commit 9032f90

Please sign in to comment.