forked from qt-creator/qt-creator
ProjectExplorer: Fix some problems with plugin unloading
It was not possible to return false from ProjectExplorerPlugin::initialize() without triggering crashes. Change-Id: I96b2f80c835e69769f64f9b9c61f473e9ff88623 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -156,6 +156,8 @@ SessionManager::SessionManager(QObject *parent) : QObject(parent)
|
||||
|
||||
SessionManager::~SessionManager()
|
||||
{
|
||||
EditorManager::setWindowTitleAdditionHandler({});
|
||||
EditorManager::setSessionTitleHandler({});
|
||||
emit m_instance->aboutToUnloadSession(d->m_sessionName);
|
||||
delete d->m_writer;
|
||||
delete d;
|
||||
|
||||
Reference in New Issue
Block a user