Răsfoiți Sursa

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

pooerh 13 ani în urmă
părinte
comite
704be4255d
1 a modificat fișierele cu 0 adăugiri și 2 ștergeri
  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;
                 }