Explorar o código

Fixed code on window destroy by WM that prevent Platform from being deleted

pooerh %!s(int64=13) %!d(string=hai) anos
pai
achega
704be4255d
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      gameplay/src/PlatformLinux.cpp

+ 0 - 2
gameplay/src/PlatformLinux.cpp

@@ -623,8 +623,6 @@ int Platform::enterMessagePump()
                     if (evt.xclient.data.l[0] == __atomWmDeleteWindow)
                     {
                         _game->exit();
-                        cleanupX11();
-                        exit(0);
                     }
                     break;
                 }