core: reset toplevel before disconnect

This commit is contained in:
Vaxry 2024-10-05 23:23:07 +01:00
parent 7e500e679e
commit fb9c8d665a

View file

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