forked from qt-creator/qt-creator
debugger: start moving to the async shutdown infrastructure
This commit is contained in:
@@ -2551,9 +2551,18 @@ ExtensionSystem::IPlugin::ShutdownFlag DebuggerPlugin::aboutToShutdown()
|
||||
d->m_uiSwitcher->aboutToShutdown();
|
||||
//if (d->m_engine)
|
||||
// d->m_engine->shutdown();
|
||||
return SynchronousShutdown;
|
||||
|
||||
// FIXME: Notify all engines instead.
|
||||
QTimer::singleShot(0, this, SLOT(emitShutdownFinished()));
|
||||
return AsynchronousShutdown;
|
||||
}
|
||||
|
||||
void DebuggerPlugin::emitShutdownFinished()
|
||||
{
|
||||
emit asynchronousShutdownFinished();
|
||||
}
|
||||
|
||||
|
||||
void DebuggerPlugin::showMessage(const QString &msg, int channel, int timeout)
|
||||
{
|
||||
//qDebug() << "PLUGIN OUTPUT: " << channel << msg;
|
||||
|
||||
Reference in New Issue
Block a user