[webkit-changes] [WebKit/WebKit] fc2b98: [WPE] WPE Platform: make sure we release all wayla...
Carlos Garcia Campos
noreply at github.com
Tue Dec 19 07:34:24 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fc2b98d725a247025bd6c91e80d20153d9b950dc
https://github.com/WebKit/WebKit/commit/fc2b98d725a247025bd6c91e80d20153d9b950dc
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: 2023-12-19 (Tue, 19 Dec 2023)
Changed paths:
M Source/WebKit/WPEPlatform/wpe/wayland/WPEDisplayWayland.cpp
M Source/WebKit/WPEPlatform/wpe/wayland/WPEWaylandOutput.cpp
Log Message:
-----------
[WPE] WPE Platform: make sure we release all wayland resources before the display
https://bugs.webkit.org/show_bug.cgi?id=266626
Reviewed by Michael Catanzaro.
The display is explicitly released in the dispose method, but other
resources wrapped by smart pointers are released later in the finalize.
Also use wl_output_release instead of wl_output_destroy when available.
* Source/WebKit/WPEPlatform/wpe/wayland/WPEDisplayWayland.cpp:
(wpeDisplayWaylandDispose):
* Source/WebKit/WPEPlatform/wpe/wayland/WPEWaylandOutput.cpp:
(WPE::WaylandOutput::~WaylandOutput):
Canonical link: https://commits.webkit.org/272268@main
More information about the webkit-changes
mailing list