Create "shutdown" message to find how far we get if swift hangs during shutdown

This commit is contained in:
Klaus Basan
2020-03-29 17:09:09 +02:00
committed by Mat Sutcliffe
parent 6eb767f938
commit 0ee522426a
3 changed files with 24 additions and 2 deletions

View File

@@ -1325,8 +1325,10 @@ namespace BlackGui
{
if (m_shutdownInProgress) { return; }
CApplication::gracefulShutdown();
CLogMessage(this).info(u"Graceful shutdown of GUI application started");
if (m_saveMainWidgetState)
{
CLogMessage(this).info(u"Graceful shutdown, saving geometry");
this->saveWindowGeometryAndState();
}
}