mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-23 13:55:36 +08:00
Create "shutdown" message to find how far we get if swift hangs during shutdown
This commit is contained in:
committed by
Mat Sutcliffe
parent
6eb767f938
commit
0ee522426a
@@ -17,6 +17,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <QApplication>
|
||||
#include <QTextStream>
|
||||
|
||||
using namespace BlackGui;
|
||||
using namespace BlackMisc;
|
||||
@@ -49,6 +50,13 @@ int main(int argc, char *argv[])
|
||||
SwiftGuiStd w(windowMode);
|
||||
w.show();
|
||||
|
||||
int r = a.exec();
|
||||
const int r = a.exec();
|
||||
|
||||
// log we are really closing
|
||||
QTextStream ts(stdout);
|
||||
ts << "swift is closing now ......\n";
|
||||
ts.flush();
|
||||
|
||||
// bye
|
||||
return r;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user