diff --git a/Classes/LinphoneAppDelegate.m b/Classes/LinphoneAppDelegate.m index d4a5e3fd7..3e58f72df 100644 --- a/Classes/LinphoneAppDelegate.m +++ b/Classes/LinphoneAppDelegate.m @@ -81,11 +81,9 @@ linphone_call_enable_camera(call, false); } - dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.3 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ - [LinphoneManager.instance enterBackgroundMode]; - [LinphoneManager.instance.fastAddressBook clearFriends]; - [CoreManager.instance stopLinphoneCore]; - }); + [LinphoneManager.instance enterBackgroundMode]; + [LinphoneManager.instance.fastAddressBook clearFriends]; + [CoreManager.instance stopLinphoneCore]; } - (void)applicationDidBecomeActive:(UIApplication *)application {