We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 383ee1c commit d75fca3Copy full SHA for d75fca3
tdl/__init__.py
@@ -823,7 +823,7 @@ def __del__(self):
823
#if isinstance(self._as_parameter_, _ctypes.c_void_p):
824
if self._as_parameter_ is _ffi.NULL:
825
# do we recognise this root console?
826
- if(_rootConsoleRef and _rootConsoleRef is self):
+ if(_rootConsoleRef and _rootConsoleRef() is self):
827
_rootinitialized = False
828
_rootConsoleRef = None
829
_lib.TCOD_console_delete(self._as_parameter_)
0 commit comments