SystemTimeSource: Exit loop when the port is closed
This commit is contained in:
parent
08a65695bb
commit
c21a2c7fed
@ -84,6 +84,6 @@ SystemTimeSource::ControlThread()
|
||||
status_t err;
|
||||
do {
|
||||
err = WaitForMessage(B_INFINITE_TIMEOUT);
|
||||
} while (err == B_OK || err == B_ERROR);
|
||||
} while (err != B_BAD_PORT_ID);
|
||||
TRACE("SystemTimeSource::ControlThread() exit\n");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user