aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/gitlab/queryrunner.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2022-06-16 10:17:33 +0200
committerhjk <[email protected]>2022-06-16 08:26:10 +0000
commit152b14207ce264222557665c568907931e9277d8 (patch)
treebbebe25943bab6fdc39d3e661b70febda4d79ea5 /src/plugins/gitlab/queryrunner.cpp
parentbfad59ade006fd704439c229bbb37ffc560cd243 (diff)
Replace QtcProcess::stopProcess() by stop() plus waitForFinished
... or nothing, if the process object is destroyed immediately. Change-Id: I6a1e1928bc49fc20a1c0e0ee9b8f4f723276bbca Reviewed-by: Jarek Kobus <[email protected]>
Diffstat (limited to 'src/plugins/gitlab/queryrunner.cpp')
-rw-r--r--src/plugins/gitlab/queryrunner.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/gitlab/queryrunner.cpp b/src/plugins/gitlab/queryrunner.cpp
index 0e54a99a092..fe46db842e0 100644
--- a/src/plugins/gitlab/queryrunner.cpp
+++ b/src/plugins/gitlab/queryrunner.cpp
@@ -137,7 +137,8 @@ void QueryRunner::start()
void QueryRunner::terminate()
{
- m_process.stopProcess();
+ m_process.stop();
+ m_process.waitForFinished();
}
void QueryRunner::errorTermination(const QString &msg)