screencopy: avoid defective exit() calls

This commit is contained in:
vaxerski 2023-10-05 16:53:47 +01:00
parent 552e928e7c
commit 39fd0e46b1

View file

@ -967,7 +967,7 @@ void CPipewireConnection::createStream(CScreencopyPortal::SSession* pSession) {
if (!PSTREAM->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};