Skip to content

Commit

Permalink
fix: do not stop exception propagation in main process
Browse files Browse the repository at this point in the history
  • Loading branch information
merlinran committed Dec 16, 2021
1 parent 335ca77 commit aad9490
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vehicle/master_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ def run_main(simulation, debug):
main_process.run(stop_signal)
except Exception:
stop_signal.set() # allow sub-processes to terminate gracefully
raise


if __name__ == "__main__":
Expand Down

0 comments on commit aad9490

Please sign in to comment.