mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-22 06:35:57 +01:00
screencopy: avoid execution after terminate()
This commit is contained in:
parent
39fd0e46b1
commit
7df2d3e9e5
1 changed files with 1 additions and 0 deletions
|
@ -968,6 +968,7 @@ void CPipewireConnection::createStream(CScreencopyPortal::SSession* pSession) {
|
||||||
if (!PSTREAM->stream) {
|
if (!PSTREAM->stream) {
|
||||||
Debug::log(ERR, "[pipewire] refused to create stream");
|
Debug::log(ERR, "[pipewire] refused to create stream");
|
||||||
g_pPortalManager->terminate();
|
g_pPortalManager->terminate();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
spa_pod_builder* builder[2] = {&dynBuilder[0].b, &dynBuilder[1].b};
|
spa_pod_builder* builder[2] = {&dynBuilder[0].b, &dynBuilder[1].b};
|
||||||
|
|
Loading…
Reference in a new issue