From 09cc312f31252e8df66ee85ea54980c0321ddadb Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Thu, 23 Mar 2023 20:06:23 +0200 Subject: [PATCH] Drop irrelevant Deleted cleanup in Workspace Deleted windows are no longer destroyed using deleteLater(). They will be destroyed immediately as Workspace goes through the window list because the effects will be unloaded by that time. --- src/workspace.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/workspace.cpp b/src/workspace.cpp index b74322f98d..0966d4e1e8 100644 --- a/src/workspace.cpp +++ b/src/workspace.cpp @@ -483,12 +483,6 @@ Workspace::~Workspace() window->destroyWindow(); } - for (auto it = deleted.begin(); it != deleted.end();) { - Q_EMIT deletedRemoved(*it); - (*it)->finishCompositing(); - it = deleted.erase(it); - } - m_rulebook.reset(); kwinApp()->config()->sync();