Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
11201e43
Commit
11201e43
authored
Oct 27, 2009
by
Oswald Buddenhagen
Browse files
try harder to kill unwanted child. mwahaha
parent
3945b967
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/applicationlauncher_x11.cpp
View file @
11201e43
...
...
@@ -87,7 +87,10 @@ void ApplicationLauncher::stop()
{
if
(
m_currentMode
==
Gui
)
{
m_guiProcess
->
terminate
();
m_guiProcess
->
waitForFinished
();
if
(
!
m_guiProcess
->
waitForFinished
(
1000
))
{
// This is blocking, so be fast.
m_guiProcess
->
kill
();
m_guiProcess
->
waitForFinished
();
}
}
else
{
m_consoleProcess
->
stop
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment