mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-28 13:58:41 +02:00
fixed: gui "start" button visible even though server/client is running.
This commit is contained in:
parent
658a3e3e8f
commit
2520bf4773
5 changed files with 27 additions and 7 deletions
|
@ -304,6 +304,12 @@ CMSWindowsWatchdog::startProcess()
|
|||
throw XArch(new XArchEvalWindows);
|
||||
}
|
||||
else {
|
||||
// wait for program to fail.
|
||||
ARCH->sleep(1);
|
||||
if (!isProcessActive()) {
|
||||
throw XMSWindowsWatchdogError("process immediately stopped");
|
||||
}
|
||||
|
||||
m_processRunning = true;
|
||||
m_processFailures = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue