Changeset 229526 in webkit
- Timestamp:
- Mar 12, 2018 2:28:26 AM (6 years ago)
- Location:
- releases/WebKitGTK/webkit-2.20/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
releases/WebKitGTK/webkit-2.20/Source/WebCore/ChangeLog
r229273 r229526 1 2018-03-12 Michael Catanzaro <mcatanzaro@igalia.com> 2 3 [GTK] Crash in WebCore::PlatformDisplayWayland::~PlatformDisplayWayland 4 https://bugs.webkit.org/show_bug.cgi?id=176490 5 6 Reviewed by Žan Doberšek. 7 8 Destroy the wl_display with wl_display_disconnect() (client process API), not 9 wl_display_destroy() (server process API). It has to be destroyed last, so explicitly 10 destroy the wl_registry and wl_compositor first. 11 12 * platform/graphics/wayland/PlatformDisplayWayland.cpp: 13 (WebCore::PlatformDisplayWayland::~PlatformDisplayWayland): 14 1 15 2018-03-01 Carlos Garcia Campos <cgarcia@igalia.com> 2 16 -
releases/WebKitGTK/webkit-2.20/Source/WebCore/platform/graphics/wayland/PlatformDisplayWayland.cpp
r217838 r229526 68 68 PlatformDisplayWayland::~PlatformDisplayWayland() 69 69 { 70 if (m_nativeDisplayOwned == NativeDisplayOwned::Yes) 71 wl_display_destroy(m_display); 70 if (m_nativeDisplayOwned == NativeDisplayOwned::Yes) { 71 m_compositor = nullptr; 72 m_registry = nullptr; 73 wl_display_disconnect(m_display); 74 } 72 75 } 73 76
Note: See TracChangeset
for help on using the changeset viewer.