Skip to content

MYUtilites function beginBackgroundTaskNamed: crash when app goes to background twice while replicating #1006

@Vitalii-Gozhenko

Description

@Vitalii-Gozhenko

Assertion failed in beginBackgroundTaskNamed: when app goes to background twice while replicating.

You said:

_bgTask should never already be valid when -beginBackgroundTaskNamed: is called.

But it is crashed. I attached screenshot. Maybe it is because I also use background task in my app. Can beginBackgroundTaskWithExpirationHandler

Link to pull request

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions