def __del__(self): surrender.shutdown()
def shutdown(self): """Shuts down the renderer. Destroys the OpenGL context and the window associated with the renderer. """ surrender.shutdown()