mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-25 23:45:58 +01:00
screencopy: avoid defective exit() calls
This commit is contained in:
parent
552e928e7c
commit
39fd0e46b1
1 changed files with 1 additions and 1 deletions
|
@ -967,7 +967,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");
|
||||||
exit(1);
|
g_pPortalManager->terminate();
|
||||||
}
|
}
|
||||||
|
|
||||||
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