Browse Source

Tweaked an iOS shutdown behaviour

tags/2021-05-28
jules 8 years ago
parent
commit
21f14c478b
1 changed files with 1 additions and 9 deletions
  1. +1
    -9
      modules/juce_gui_basics/native/juce_ios_Windowing.mm

+ 1
- 9
modules/juce_gui_basics/native/juce_ios_Windowing.mm View File

@@ -99,15 +99,7 @@ Array<AppInactivityCallback*> appBecomingInactiveCallbacks;
}
}];
MessageManager::callAsync ([self,application,app] ()
{
app->suspended();
if (appSuspendTask != UIBackgroundTaskInvalid)
{
[application endBackgroundTask:appSuspendTask];
appSuspendTask = UIBackgroundTaskInvalid;
}
});
MessageManager::callAsync ([self,application,app] () { app->suspended(); });
#else
ignoreUnused (application);
app->suspended();


Loading…
Cancel
Save