Add a debug feedback about the reason of exiting the application.

This commit is contained in:
Julien Wadel 2022-12-16 10:28:52 +01:00
parent 2d018ce6c9
commit ea1fb992f2

View file

@ -89,6 +89,7 @@ int main (int argc, char *argv[]) {
app->initContentApp();
ret = app->exec();
} while (ret == App::RestartCode);
qWarning() << "Exiting app with the code : " << ret;
controller.stopApp(); // Stopping app before core to let time to GUI to process needed items from linphone.
if( CoreManager::getInstance()){
auto core = CoreManager::getInstance()->getCore();