فهرست منبع

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

pooerh 13 سال پیش
والد
کامیت
704be4255d
1فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  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)
                     if (evt.xclient.data.l[0] == __atomWmDeleteWindow)
                     {
                     {
                         _game->exit();
                         _game->exit();
-                        cleanupX11();
-                        exit(0);
                     }
                     }
                     break;
                     break;
                 }
                 }