(iOS) Put show pause menu function call inside dispatch_async block

This commit is contained in:
twinaphex 2015-03-11 19:16:41 +01:00
parent 9700abb1ba
commit b9aa2d1c1d

View File

@ -313,10 +313,10 @@ void notify_content_loaded(void)
- (void)applicationWillResignActive:(UIApplication *)application
{
dispatch_async(dispatch_get_main_queue(),
^{
main_exit_save_config();
});
[self showPauseMenu: self];
^{
main_exit_save_config();
[self showPauseMenu: self];
});
}
-(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation