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

Initialisation error when integrating into a bigger app #12

Open
SteveBrooker opened this issue Mar 9, 2016 · 0 comments
Open

Initialisation error when integrating into a bigger app #12

SteveBrooker opened this issue Mar 9, 2016 · 0 comments

Comments

@SteveBrooker
Copy link

The initialisation statement in BackgroundTaskManager.m of its property _bgTaskIdList = [NSMutableArray array]; does not allocate any space to this array. Whilst this does not produce any errors in the sample app, when integrated with more xcode modules, it becomes unreliable and can crash with EXC BAD ACCESS.
I have replaced this line in my app with _bgTaskIdList = [[NSMutableArray alloc]init]; which works fine for me. I hope this helps other users

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

No branches or pull requests

2 participants
@SteveBrooker and others