Mercurial > trustbridge
diff ui/installwrapper.cpp @ 387:32309299bec9
Always return after error
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 15 Apr 2014 19:03:06 +0200 |
parents | 72487438a180 |
children | a507e5f1b999 |
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);