diff --git a/Linphone/Core/CoreContext.swift b/Linphone/Core/CoreContext.swift index cbe05f92f..cee0d0ef3 100644 --- a/Linphone/Core/CoreContext.swift +++ b/Linphone/Core/CoreContext.swift @@ -432,7 +432,7 @@ class CoreContext: ObservableObject { } func onEnterBackground() { - coreQueue.sync { + coreQueue.async { // We can't rely on defaultAccount?.params?.isPublishEnabled // as it will be modified by the SDK when changing the presence status Log.info("App is in background, un-PUBLISHING presence info")