Cleanup: remove redundant check

Missed in cleanup !137050.
This commit is contained in:
Campbell Barton
2025-04-17 03:34:25 +00:00
parent 914d2e8164
commit 707a3aa4f9

View File

@@ -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;