Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manually resume URLSessionTask after it has been successfully registered #301

Merged
merged 1 commit into from
Feb 2, 2023

Conversation

phil1995
Copy link
Collaborator

@phil1995 phil1995 commented Feb 2, 2023

We introduced with #293 the progress reporting for Download & Upload for WebDAV. However, it seems like the FileProviderExtension doesn't like when one registers a already running URLSessionTask and this could trigger EXC_RESOURCE RESOURCE_TYPE_MEMORY. Somehow registering and then resuming the task seem to fix this issue (and thus closing #299)… which is a bit unexpected but the documentation inside the header file of NSFileProvideManager (but not the online documentation) also states:

The task must be suspended at the time of calling.

So I guess we are interacting now a bit more according to the specifications.

@tobihagemann tobihagemann added this to the 2.4.6 milestone Feb 2, 2023
@tobihagemann tobihagemann linked an issue Feb 2, 2023 that may be closed by this pull request
@tobihagemann tobihagemann merged commit 9032f90 into develop Feb 2, 2023
@tobihagemann tobihagemann deleted the bugfix/webdav_memory_limit_crash branch February 2, 2023 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Couldn't communicate with a helper application
2 participants