зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1729082 - Stop leaking the portal Pipewire file descriptor, r=emilio
It is used to create the `pw_core` object that is disconnected above. Differential Revision: https://phabricator.services.mozilla.com/D124508
This commit is contained in:
Родитель
e6430fdfe7
Коммит
441e2df293
|
@ -238,6 +238,10 @@ BaseCapturerPipeWire::~BaseCapturerPipeWire() {
|
|||
g_object_unref(proxy_);
|
||||
proxy_ = nullptr;
|
||||
}
|
||||
|
||||
if (pw_fd_ != -1) {
|
||||
close(pw_fd_);
|
||||
}
|
||||
}
|
||||
|
||||
void BaseCapturerPipeWire::InitPortal() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче