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

do not run didReceiveRemoteNotification and performFetchWithCompletionHandler simultaneous #1133

Closed
r10s opened this issue Apr 8, 2021 · 0 comments · Fixed by #1135
Closed
Assignees

Comments

@r10s
Copy link
Member

r10s commented Apr 8, 2021

it happens from time to time that, for whatever reason, didReceiveRemoteNotification and performFetchWithCompletionHandler are called at nearly the same time (only very few milliseconds in between).

that results in duplicated called to start_io, maybe_network, stop_io - at least the latter always from the main thread,

that may lead to some database and core stressing leading to issues as #1129 at the end.

@r10s r10s added the bug label Apr 8, 2021
@r10s r10s self-assigned this Apr 8, 2021
@r10s r10s mentioned this issue Apr 8, 2021
@r10s r10s added the notify label Apr 8, 2021
@r10s r10s closed this as completed in #1135 Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant