in gym_pusht/envs/pusht.py [0:0]
def close(self): if self.window is not None: pygame.display.quit() pygame.quit()