From 707a3aa4f9fa8283f8a9eac8bc4bf0e7c9b8ea85 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 17 Apr 2025 03:34:25 +0000 Subject: [PATCH] Cleanup: remove redundant check Missed in cleanup !137050. --- intern/ghost/intern/GHOST_System.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/intern/ghost/intern/GHOST_System.cc b/intern/ghost/intern/GHOST_System.cc index e68aad1ffaa..9346f91bd19 100644 --- a/intern/ghost/intern/GHOST_System.cc +++ b/intern/ghost/intern/GHOST_System.cc @@ -95,8 +95,6 @@ GHOST_TSuccess GHOST_System::disposeWindow(GHOST_IWindow *window) */ if (m_windowManager->getWindowFound(window)) { m_eventManager->removeWindowEvents(window); - } - if (m_windowManager->getWindowFound(window)) { success = m_windowManager->removeWindow(window); if (success) { delete window;