Author: KirkMcDonald Date: 2007-12-30 22:03:57 +0000 (Sun, 30 Dec 2007) New Revision: 639
Modified: trunk/pysoy/src/_core-w32/Window.pxi Log: Fix crash on exit. Modified: trunk/pysoy/src/_core-w32/Window.pxi =================================================================== --- trunk/pysoy/src/_core-w32/Window.pxi 2007-12-30 21:05:45 UTC (rev 638) +++ trunk/pysoy/src/_core-w32/Window.pxi 2007-12-30 22:03:57 UTC (rev 639) @@ -53,12 +53,12 @@ def __dealloc__(self) : # Delete the window here + self._destroy() _windows.lock() _windows.remove(<void *>self) if not _windows.current: self._unregisterClass() _windows.unlock() - self._destroy() cdef void _create(self, int x, int y, int width, int height): self._window = make_window(self._hInst, self._title, x, y, width, height, 0) _______________________________________________ PySoy-SVN mailing list PySoy-SVN@pysoy.org http://www.pysoy.org/mailman/listinfo/pysoy-svn