There was an error while loading. Please reload this page.
1 parent 0fddcfe commit c0e5f45Copy full SHA for c0e5f45
1 file changed
source/isaaclab_tasks/test/env_test_utils.py
@@ -470,6 +470,7 @@ def _check_random_actions(
470
# Always ensure cleanup happens, regardless of success or failure
471
if env is not None:
472
env.close()
473
+ env = None
474
475
# Drop unreachable environment objects while the device is still alive. Warp arrays
476
# free device memory from a finalizer, so collect them before the simulation teardown
0 commit comments