mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
Improved graceful shutdown, added "m_shutdownInProgress"
* no assert when wait is called in same thread, just ignore wait * quitAndWait readers, also works if not already noved in new thread (see above)
This commit is contained in:
@@ -315,6 +315,12 @@ namespace BlackMisc
|
||||
//! Called when the thread is finished.
|
||||
virtual void cleanup() {}
|
||||
|
||||
//! Owner of the worker
|
||||
//! @{
|
||||
const QObject *owner() const { return m_owner; }
|
||||
QObject *owner() { return m_owner; }
|
||||
//! @}
|
||||
|
||||
QTimer m_updateTimer { this }; //!< timer which can be used by implementing classes
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user