Skip to content

Commit ba902d5

Browse files
committed
Free context on close (mujoco>=2.1.5)
1 parent 0339b11 commit ba902d5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

mujoco_viewer/mujoco_viewer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -536,3 +536,4 @@ def update():
536536

537537
def close(self):
538538
glfw.terminate()
539+
self.ctx.free()

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
import os
33
from setuptools import find_packages, setup
44

5-
VERSION = '0.0.2'
5+
VERSION = '0.0.3'
66

77
INSTALL_REQUIRES = (
8-
['mujoco >= 2.1.2',
8+
['mujoco >= 2.1.5',
99
'glfw >= 2.5.0',
1010
'imageio']
1111
)

0 commit comments

Comments
 (0)