From 6d81455b56375b87432d260db44a000768d7b037 Mon Sep 17 00:00:00 2001 From: Benoit Martins Date: Mon, 25 Aug 2025 16:17:13 +0200 Subject: [PATCH] Do onEnterBackground in async core queue --- Linphone/Core/CoreContext.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")