Skip to main content
Known Participant
September 25, 2013
Question

Disable background execution

  • September 25, 2013
  • 2 replies
  • 1599 views

Hi,

We really appreciate the new execute in background function in direct mode, but we have gotten some unforeseen problems with it.

Many things that didn't dispatch events in the background like Loader does that now, and in that event chain we have some OpenGL calls.

We will fix that issue, but its a massive job and we need to submit a new version ASAP.

Is it possible to disable background execution so it behaves like Air 3.8 ?

-Simon

This topic has been closed for replies.

2 replies

Participant
March 5, 2014

Was a bug logged in the bug base, or did you fix your problem? Having same issue here.

Known Participant
March 7, 2014

I didnt add one, we reworked our texture uploading so the code can run in the background.

Participant
September 25, 2013

I'm all for that too, background execution has caused me a lot of headaches

Adobe Employee
September 25, 2013

Hi could you please share a few more details -

1. What AIR version are you using. Could you please try the latest beta available here - http://labs.adobe.com/downloads/air.html

2. Backround execution is 'off' by default for iOS, unless you opt-in using UIBackgroundModes or nativeApplication.executeInBackground. Did you use either of these? If yes, removing them would disable all background execution for iOS apps.

Hope that helps.

Known Participant
September 25, 2013

Hi! Thanks for the quick respond!

We are using the latest AIR version, redownloaded it again just to be sure.

Have not set any UIBackgroundModes, checked the info.plist file and couldnt find anything there.

And I have not used nativeApplication.executeInBackground, traced it in onActivate and onDeactivate and it says false.