The task is switched to the Finished state when shutdown is received.
This commit is contained in:
parent
7492d3989e
commit
455f873f2a
@ -153,7 +153,10 @@ impl ComputeThread
|
||||
Ok(val) =>
|
||||
{
|
||||
// Found a message.
|
||||
self.continue_running = !val;
|
||||
if !val == false
|
||||
{
|
||||
self.change_state(ThreadState::Finished);
|
||||
}
|
||||
}
|
||||
|
||||
Err(error) =>
|
||||
|
Loading…
x
Reference in New Issue
Block a user