Mercurial > trustbridge
changeset 387:32309299bec9
Always return after error
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 15 Apr 2014 19:03:06 +0200 |
parents | cc1738b398a0 |
children | a507e5f1b999 |
files | ui/installwrapper.cpp |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ui/installwrapper.cpp Tue Apr 15 19:02:39 2014 +0200 +++ b/ui/installwrapper.cpp Tue Apr 15 19:03:06 2014 +0200 @@ -126,6 +126,8 @@ QString qerrmsg = QString::fromUtf8(errmsg); free(errmsg); emit error (tr("Failed to check process status: %1").arg(qerrmsg)); + CloseHandle(shExecInfo.hProcess); + return; } CloseHandle(shExecInfo.hProcess);