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 156ac7ffc2
commit ce2eebdd1a

View file

@ -74,6 +74,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();