Skip to content

Commit

Permalink
Merge PR #3188: Overlay_win: properly terminate our overlay helper pr…
Browse files Browse the repository at this point in the history
…ocesses.
  • Loading branch information
mkrautz committed Jul 20, 2017
2 parents 346702f + 3ea9f08 commit 14ac2b3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/mumble/Overlay_win.cpp
Expand Up @@ -133,6 +133,18 @@ OverlayPrivateWin::~OverlayPrivateWin() {
qFatal("OverlayPrivateWin: unable to close Mumble process handle.");
return;
}

// Remove all signals, so they don't
// interfere with our calls to waitForFinished
// below.
m_helper_process->disconnect();
m_helper64_process->disconnect();

m_helper_process->terminate();
m_helper64_process->terminate();

m_helper_process->waitForFinished();
m_helper64_process->waitForFinished();
}

void OverlayPrivateWin::startHelper(QProcess *helper) {
Expand Down

0 comments on commit 14ac2b3

Please sign in to comment.