Skip to content

Commit

Permalink
Treat the stop request from the RTI as if a local stop request had be…
Browse files Browse the repository at this point in the history
…en received
  • Loading branch information
edwardalee committed Dec 21, 2023
1 parent b9b17af commit d451273
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/federated/federate.c
Original file line number Diff line number Diff line change
Expand Up @@ -2263,6 +2263,8 @@ void handle_stop_request_message() {
if (lf_stop_requested) {
already_blocked = true;
}
// Treat the stop request from the RTI as if a local stop request had been received.
lf_stop_requested = true;
lf_mutex_unlock(&global_mutex);

if (already_blocked) {
Expand Down

0 comments on commit d451273

Please sign in to comment.