mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 02:58:07 +00:00
Do onEnterBackground in async core queue
This commit is contained in:
parent
1a19012613
commit
6d81455b56
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue