(self)
Frees resources associated with this context.
Frees resources associated with this context.
Frees resources associated with this context .
def _platform_free(self):
    """Frees resources associated with this context."""
    if self._context:
      if glfw.get_current_context() == self._context:
        glfw.make_context_current(None)
      self._destroy_window(self._context)
      self._context = None
def _platform_free ( self ) : if self . _context : if glfw . get_current_context ( ) == self . _context : glfw . make_context_current ( None ) self . _destroy_window ( self . _context ) self . _context = None