From 33eef06f649723207e317600d0382db2ff5772b0 Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 15 Feb 2022 15:05:03 +0100 Subject: [PATCH] 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 --- src/plugins/projectexplorer/applicationlauncher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/applicationlauncher.cpp b/src/plugins/projectexplorer/applicationlauncher.cpp index a83dacc3580..7e6f4c164dc 100644 --- a/src/plugins/projectexplorer/applicationlauncher.cpp +++ b/src/plugins/projectexplorer/applicationlauncher.cpp @@ -355,7 +355,7 @@ void ApplicationLauncherPrivate::start(const IDevice::ConstPtr &device, bool loc m_exitCode = m_process->exitCode(); m_exitStatus = m_process->exitStatus(); m_listeningPid = 0; - QTimer::singleShot(100, this, [this] { emit q->finished(); }); + emit q->finished(); }); connect(m_process.get(), &QtcProcess::errorOccurred, this, &ApplicationLauncherPrivate::localProcessError);