[Webkit-unassigned] [Bug 194326] [GTK][WPE] Mock Gstreamer sources should keep a Ref of their mock realtime media sources

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 5 19:39:26 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=194326

--- Comment #2 from youenn fablet <youennf at gmail.com> ---
(In reply to Thibault Saunier from comment #1)
> How can it be reffed somewhere else? afair it is fully internal to the
> MockGStreamerAudioCaptureSource

It might ref itself for instance, or the implementation might pass a & to some other code that will keep a Ref<>.

Any class that is RefCounted<>/ThreadSafeRefCounted<> should be kept through Ref/RefPtr.
Constructors of such classes are often private/protected and a static create method is used instead.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190206/18d6c7f9/attachment-0001.html>


More information about the webkit-unassigned mailing list