mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
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:
parent
e6430fdfe7
commit
441e2df293
@ -238,6 +238,10 @@ BaseCapturerPipeWire::~BaseCapturerPipeWire() {
|
||||
g_object_unref(proxy_);
|
||||
proxy_ = nullptr;
|
||||
}
|
||||
|
||||
if (pw_fd_ != -1) {
|
||||
close(pw_fd_);
|
||||
}
|
||||
}
|
||||
|
||||
void BaseCapturerPipeWire::InitPortal() {
|
||||
|
Loading…
Reference in New Issue
Block a user