mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
refs #270 don't call CRuntime::gracefulShutdown from a different thread;
connect it to the QCoreApplication::aboutToQuit signal instead
This commit is contained in:
@@ -305,6 +305,8 @@ namespace BlackCore
|
||||
BlackSim::registerMetadata();
|
||||
BlackCore::registerMetadata();
|
||||
|
||||
this->connect(QCoreApplication::instance(), &QCoreApplication::aboutToQuit, this, &CRuntime::gracefulShutdown);
|
||||
|
||||
// upfront reading of settings, as DBus server already relies on settings
|
||||
CContextSettings *settings = nullptr;
|
||||
QString dbusAddress;
|
||||
|
||||
Reference in New Issue
Block a user