Fix on explicit window.close (resolve #776)

This commit is contained in:
Joshua Granick
2017-01-11 15:32:53 -08:00
parent 21c52bb29f
commit efa7c0eab6

View File

@@ -132,6 +132,7 @@ namespace lime {
if (sdlWindow) {
SDL_DestroyWindow (sdlWindow);
sdlWindow = 0;
}
@@ -174,6 +175,7 @@ namespace lime {
if (sdlWindow) {
SDL_DestroyWindow (sdlWindow);
sdlWindow = 0;
}