forked from qt-creator/qt-creator
ProjectExplorer: Remove a 100ms delay in ApplicationLauncher
The underlying (and even local) process finished, it's unclear why we need to withhold this information from user code for some time. Change-Id: Id9cfbd7de9c8eab6fe63797d147043e15bfb4680 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -355,7 +355,7 @@ void ApplicationLauncherPrivate::start(const IDevice::ConstPtr &device, bool loc
|
|||||||
m_exitCode = m_process->exitCode();
|
m_exitCode = m_process->exitCode();
|
||||||
m_exitStatus = m_process->exitStatus();
|
m_exitStatus = m_process->exitStatus();
|
||||||
m_listeningPid = 0;
|
m_listeningPid = 0;
|
||||||
QTimer::singleShot(100, this, [this] { emit q->finished(); });
|
emit q->finished();
|
||||||
});
|
});
|
||||||
connect(m_process.get(), &QtcProcess::errorOccurred,
|
connect(m_process.get(), &QtcProcess::errorOccurred,
|
||||||
this, &ApplicationLauncherPrivate::localProcessError);
|
this, &ApplicationLauncherPrivate::localProcessError);
|
||||||
|
Reference in New Issue
Block a user