Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 592d7746b7a94b9cc19b62fcf156d0de3978487a
https://github.com/WebKit/WebKit/commit/592d7746b7a94b9cc19b62fcf156d0de3978487a
Author: Philippe Normand <[email protected]>
Date: 2024-02-16 (Fri, 16 Feb 2024)
Changed paths:
M Source/WebCore/platform/graphics/gstreamer/GRefPtrGStreamer.cpp
M Source/WebCore/platform/graphics/gstreamer/GRefPtrGStreamer.h
M Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp
Log Message:
-----------
[GStreamer] De-initialize only if leaks tracer is active
https://bugs.webkit.org/show_bug.cgi?id=268977
Reviewed by Xabier Rodriguez-Calvar.
The `gst_deinit()` call is useful only if the leaks tracer is active. Otherwise
resources will be
freed anyway when the WebProcess terminates.
* Source/WebCore/platform/graphics/gstreamer/GRefPtrGStreamer.cpp:
(WTF::adoptGRef):
(WTF::refGPtr<GstTracer>):
(WTF::derefGPtr<GstTracer>):
* Source/WebCore/platform/graphics/gstreamer/GRefPtrGStreamer.h:
* Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp:
(WebCore::deinitializeGStreamer):
Canonical link: https://commits.webkit.org/274811@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes