forked from qt-creator/qt-creator
Debugger: Do not create the console unnecessarily
Triggering console creation in the plugin destructor is not needed. Change-Id: Ic21016e7a19fa08ea7dd03a8364aa6fc229bb2d1 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -1038,7 +1038,7 @@ DebuggerPluginPrivate::DebuggerPluginPrivate(DebuggerPlugin *plugin)
|
||||
|
||||
DebuggerPluginPrivate::~DebuggerPluginPrivate()
|
||||
{
|
||||
delete debuggerConsole();
|
||||
destroyDebuggerConsole();
|
||||
|
||||
qDeleteAll(m_optionPages);
|
||||
m_optionPages.clear();
|
||||
|
||||
Reference in New Issue
Block a user