diff options
author | kh <karsten.heimrich@theqtcompany.com> | 2014-11-21 13:51:30 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@theqtcompany.com> | 2014-11-24 16:53:32 +0100 |
commit | bdb0247bea51ed296ae31ea2efaff3380607a00e (patch) | |
tree | aff156b04a4847bf03bd8ce62541945d167d697f /src/libs/installer/packagemanagercore_p.cpp | |
parent | b34f41a3bb527430f66f349bf612e6978a1c2338 (diff) |
Fix crash experienced while closing the application.
Signal the keep alive object that we are going to shutdown.
This needs to be done because the parent object is a global
static and the order of destruction is unknown.
The revised code of KeepAliveObject::start() method fixes
one of several warnings ("QSocketNotifier: socket notifiers
cannot be {enabled/disabled} from another thread").
Change-Id: I68e2d507e697a5d94bdc73f016601affc9913846
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Diffstat (limited to 'src/libs/installer/packagemanagercore_p.cpp')
-rw-r--r-- | src/libs/installer/packagemanagercore_p.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libs/installer/packagemanagercore_p.cpp b/src/libs/installer/packagemanagercore_p.cpp index 5944e4100..3c1c8b674 100644 --- a/src/libs/installer/packagemanagercore_p.cpp +++ b/src/libs/installer/packagemanagercore_p.cpp @@ -270,8 +270,6 @@ PackageManagerCorePrivate::~PackageManagerCorePrivate() qDeleteAll(m_performedOperationsOld); qDeleteAll(m_performedOperationsCurrentSession); - RemoteClient::instance().setActive(false); - delete m_updateFinder; delete m_proxyFactory; |