SDL_DestroyWindow() was called twice. First in close window code, second on window destructor.

This commit is contained in:
and3md 2017-04-28 20:19:19 +02:00
parent 9184303b05
commit a8db8a6e5a
1 changed files with 0 additions and 1 deletions

View File

@ -1235,7 +1235,6 @@ class SDLPlatform : Platform {
if (windowToClose.windowId in _windowMap) {
Log.i("Platform.closeWindow()");
_windowMap.remove(windowToClose.windowId);
SDL_DestroyWindow(windowToClose._win);
Log.i("windowMap.length=", _windowMap.length);
destroy(windowToClose);
}