mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-12-22 09:49:49 +01:00
core: reset screenshot pointer aswell (#209)
ensure the screenshot portal is destructed before the connection is down, otherwise it segfaults inside sdbus.
This commit is contained in:
parent
9ace6f969c
commit
0fe840441e
1 changed files with 1 additions and 0 deletions
|
@ -482,6 +482,7 @@ void CPortalManager::startEventLoop() {
|
|||
|
||||
m_sPortals.globalShortcuts.reset();
|
||||
m_sPortals.screencopy.reset();
|
||||
m_sPortals.screenshot.reset();
|
||||
|
||||
m_pConnection.reset();
|
||||
pw_loop_destroy(m_sPipewire.loop);
|
||||
|
|
Loading…
Reference in a new issue