diff options
author | David Schulz <[email protected]> | 2014-10-28 10:01:19 +0100 |
---|---|---|
committer | Christian Stenger <[email protected]> | 2014-10-28 10:07:25 +0100 |
commit | 58e9d4a93e53de87bb52a13696bd028312b2baae (patch) | |
tree | 3d5dd7e8aa3ffa815180e48c9cf1a2c7c9e6459f /src/plugins/debugger/debuggerplugin.cpp | |
parent | cf472944919d50bfd6955830acf0c9d37167b5af (diff) |
Debugger: Fix crash after creator shutdown
Change-Id: I5dd95571092c9b2a9a489b87d3cd4a641b337745
Reviewed-by: Christian Stenger <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 67e7969a459..fba376bd332 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -3256,7 +3256,6 @@ void showModuleSections(const QString &moduleName, const Sections §ions) void DebuggerPluginPrivate::aboutToShutdown() { - m_plugin->removeObject(this); disconnect(SessionManager::instance(), SIGNAL(startupProjectChanged(ProjectExplorer::Project*)), this, 0); @@ -3417,6 +3416,7 @@ bool DebuggerPlugin::initialize(const QStringList &arguments, QString *errorMess IPlugin::ShutdownFlag DebuggerPlugin::aboutToShutdown() { + removeObject(this); dd->aboutToShutdown(); return SynchronousShutdown; } |