PipeWire: QPipeWireCaptureHelper - reduce lifetime of listeners
QPipeWireCaptureHelper::open() registers a core and a registry listener,
but the cleanup is a bit shaky as listeners are removed in the
onCoreEventDone handler, which may not fire in case of an error or
timeout.
So we explicitly limit the lifetime of the listeners to the open()
function.
Pick-to: 6.12
Change-Id: Iccba882a0f61c7849681b546fc14aef59d030514
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
| commit | 2a724f7ad626712b7cd3c688f302eaa63c64bdf3 |
| parent | 7054aa05572b30268e1f7023c45c35dd378048c2 |
| author | Tim Blechmann <tim.blechmann@qt.io> |
| committer | Tim Blechmann <tim.blechmann@qt.io> |
| commit time | Tue, 1 Sep 2026 06:30:53 +0000 |