Saran Tunyasuvunakool
34226bf52d
Fix a race condition in launch_passive and launch_repl.
...
Before this change, these functions can return before an internal call to `mj_forward`, which results in a race condition if the user script then tries to modify the physics state.
Fixes #783
Fixes #790
PiperOrigin-RevId: 523214378
Change-Id: I8a4c6cef0f5d3ec781fd2c5cae3c20dd4b8be67f
2023-04-10 14:35:53 -07:00
..
2023-04-10 10:09:49 -07:00
2023-03-09 13:51:27 -08:00
2022-03-15 14:04:44 +00:00
2022-03-15 14:04:44 +00:00
2023-03-20 04:36:09 -07:00
2022-03-15 14:04:44 +00:00
2022-05-25 07:01:59 -07:00
2023-03-15 20:51:47 -04:00
2023-02-13 08:41:52 -08:00
2022-10-17 00:05:56 -07:00
2023-03-20 04:36:09 -07:00
2022-12-31 10:29:03 -08:00
2022-05-25 07:01:59 -07:00
2022-03-15 14:04:44 +00:00
2023-02-10 03:49:00 -08:00
2022-11-16 13:15:51 -08:00
2022-05-23 01:08:49 -07:00
2023-04-10 10:09:49 -07:00
2023-02-09 05:02:11 -08:00
2022-09-22 06:19:03 -07:00
2023-01-30 05:11:25 -08:00
2022-12-16 07:22:48 -08:00
2022-10-04 14:37:06 -04:00
2023-01-18 02:55:41 -08:00
2022-06-27 05:55:38 -07:00
2023-03-18 05:30:46 -07:00
2023-03-18 05:30:46 -07:00
2022-03-15 14:04:44 +00:00
2022-03-15 14:04:44 +00:00
2022-03-15 14:04:44 +00:00
2022-10-06 10:03:05 -07:00
2023-02-10 03:49:00 -08:00
2023-03-24 08:47:43 -07:00
2023-03-16 12:05:50 -07:00
2022-12-08 14:35:20 -08:00
2023-04-10 14:35:53 -07:00