Files
Mujoco_WASM/python/mujoco
Saran Tunyasuvunakool 496f6b47fc In mjpython, check the result of Py_InitializeFromConfig.
This is to properly handle the case where the interpreter wants to exit immediately, e.g. when `mjpython --version` is run.

Currently, we call `PyGILState_Ensure` regardless of the result of `Py_InitializeFromConfig` resulting in a segfault, as in issue #2870.

PiperOrigin-RevId: 869652555
Change-Id: I3a898279eb8aa25afbaece904cfdcc4fdcc92972
2026-02-13 03:44:58 -08:00
..
2024-11-19 14:07:21 -08:00
2022-05-25 07:01:59 -07:00
2026-01-29 10:04:43 -08:00
2022-05-23 01:08:49 -07:00
2023-10-13 16:13:24 -07:00
2024-10-24 08:31:15 -07:00
2025-08-22 06:41:49 -07:00
2025-02-21 08:44:17 -05:00
2025-02-21 08:44:17 -05:00
2024-12-16 09:57:08 -08:00
2024-12-16 09:57:08 -08:00