From fb9c8d665af0588bb087f97d0f673ddf0d501787 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sat, 5 Oct 2024 23:23:07 +0100 Subject: [PATCH] core: reset toplevel before disconnect --- src/core/PortalManager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/PortalManager.cpp b/src/core/PortalManager.cpp index 1a2b388..dd4992e 100644 --- a/src/core/PortalManager.cpp +++ b/src/core/PortalManager.cpp @@ -415,6 +415,7 @@ void CPortalManager::startEventLoop() { m_sPortals.globalShortcuts.reset(); m_sPortals.screencopy.reset(); m_sPortals.screenshot.reset(); + m_sHelpers.toplevel.reset(); m_pConnection.reset(); pw_loop_destroy(m_sPipewire.loop);