Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
I'm all for that too, background execution has caused me a lot of headaches
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
This is really strange and not expected. Sounds like a bug.
Could you please log a bug at bugbase.adobe.com with detailed steps to reproduce the same with sample code.
Also, please share the reproduction steps here as well.
Copy link to clipboard
Copied
Was a bug logged in the bug base, or did you fix your problem? Having same issue here.
Copy link to clipboard
Copied
I didnt add one, we reworked our texture uploading so the code can run in the background.