Frees existing OpenGL and MuJoCo rendering contexts.
(self)
| 543 | self._contexts = Contexts(gl=render_context, mujoco=mujoco_context) |
| 544 | |
| 545 | def _free_rendering_contexts(self): |
| 546 | """Frees existing OpenGL and MuJoCo rendering contexts.""" |
| 547 | self._contexts.mujoco.free() |
| 548 | self._contexts.gl.free() |
| 549 | self._contexts = None |
| 550 | |
| 551 | @property |
| 552 | def contexts(self): |