forked from mirrors/gecko-dev
Bug 1676586 [Linux] Merge upstream PipeWire/WebRTC DBus fix https://webrtc-review.googlesource.com/c/src/+/156980 r=dminor
Avoid g_clear_object in pipewire, fixes the build warnings when building with a newer version of glib. Depends on D96677 Differential Revision: https://phabricator.services.mozilla.com/D96678
This commit is contained in:
parent
10b727e8cf
commit
61fd86179c
1 changed files with 4 additions and 2 deletions
|
|
@ -224,11 +224,13 @@ BaseCapturerPipeWire::~BaseCapturerPipeWire() {
|
|||
|
||||
if (cancellable_) {
|
||||
g_cancellable_cancel(cancellable_);
|
||||
g_clear_object(&cancellable_);
|
||||
g_object_unref(cancellable_);
|
||||
cancellable_ = nullptr;
|
||||
}
|
||||
|
||||
if (proxy_) {
|
||||
g_clear_object(&proxy_);
|
||||
g_object_unref(proxy_);
|
||||
proxy_ = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue