Reset maiting state when there is a process

When a process was waiting for a message and there is one now, we need
to make sure we reset the waiting state.
parent 86cadf10
Pipeline #39438501 passed with stages
in 14 minutes and 20 seconds
......@@ -924,6 +924,8 @@ impl Machine {
if let Some(msg) = process.receive_message() {
context.set_register(reg, msg);
process.no_longer_waiting_for_message();
continue;
}
......
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