wayland/screencopy: fix ScreencopyContext leak in ScreencopyView

Also caused an FD leak.
This commit is contained in:
outfoxxed 2025-01-20 15:53:04 -08:00
parent 6464ead0f1
commit bc73d35d03
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E

View file

@ -66,6 +66,8 @@ void ScreencopyView::createContext() {
return;
}
this->context->setParent(this);
QObject::connect(
this->context,
&ScreencopyContext::stopped,