Commit c5e09bf8 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-27056 Windows upgrade_wizard - CloseHandle() on invalid (already closed) pipe handle

parent 9e9e91b3
......@@ -447,7 +447,7 @@ void CUpgradeDlg::UpgradeOneService(const string& servicename)
output_line.push_back(pipeReadBuf[0]);
}
}
CloseHandle(hPipeWrite);
CloseHandle(hPipeRead);
if(WaitForSingleObject(pi.hProcess, INFINITE) != WAIT_OBJECT_0)
ErrorExit("WaitForSingleObject failed");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment