From e4531b072d034323148dc1064eca8d1d8f85ce74 Mon Sep 17 00:00:00 2001 From: Gaelle Braud Date: Wed, 4 Mar 2026 11:40:37 +0100 Subject: [PATCH] reset lists data if core is not On --- Linphone/core/App.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Linphone/core/App.cpp b/Linphone/core/App.cpp index 48bbe0795..d755683ff 100644 --- a/Linphone/core/App.cpp +++ b/Linphone/core/App.cpp @@ -752,6 +752,12 @@ void App::initCore() { if (!mChatList) setChatList(ChatList::create()); else mChatList->lUpdate(); disconnect(this, &App::coreStartedChanged, this, nullptr); + } else { + if (mAccountList) mAccountList->resetData(); + if (mCallList) mCallList->resetData(); + if (mCallHistoryList) mCallHistoryList->resetData(); + if (mChatList) mChatList->resetData(); + if (mConferenceInfoList) mConferenceInfoList->resetData(); } }; if (mCoreStarted) {