endBackgroundTask without the background identifier

I'm using a library which is closed source that is starting a background task and I don't have the background task identifier...

...anyone got any bright ideas on how I could end this background task ?

It is always running to completion and I often get crash reports like this:

    Application Specific Information:
 THEAPP[245] has active assertions beyond permitted time: 
  {(
    <SBProcessAssertion: 0xee35590> identifier: UIKitBackgroundCompletionTask process:  THEAPP[245] permittedBackgroundDuration: 600.000000 reason: finishTask owner pid:245  preventSuspend  preventIdleSleep ,
     <SBProcessAssertion: 0xeed2a60> identifier: UIKitBackgroundCompletionTask process:  THEAPP[245] permittedBackgroundDuration: 600.000000 reason: finishTask owner pid:245  preventSuspend  preventIdleSleep ,
     <SBProcessAssertion: 0xee24f00> identifier: UIKitBackgroundCompletionTask process: THEAPP[245] permittedBackgroundDuration: 600.000000 reason: finishTask owner pid:245 preventSuspend  preventIdleSleep 
 )}

Thanks

Answers


It was a bug in the library, and I got a later version with a fix. There didn't seem to be a way end that task.


Need Your Help

Can Android VideoView be used as a PhoneGap Plugin?

android cordova phonegap-plugins

I'm trying to create a PhoneGap Plugin that uses the Android VideoView to play a full screen video without the video controls. But it doesn't seem to work. Calling the plugin function is not doing

How to switch Firefox profile with Selenium - without instantiating a new driver?

python unit-testing firefox browser selenium

Trying to find a way to switch the active profile in a Selenium Firefox driver. This question about multiple Firefox profiles states that creating and using multiple profiles is possible. However...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.