[webkit-changes] [WebKit/WebKit] ddea8b: [macOS] UI process sometimes crashes under ViewGes...
Wenson Hsieh
noreply at github.com
Tue Feb 11 14:22:46 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ddea8b1d5e51cd0aa4317db9277a275b17126063
https://github.com/WebKit/WebKit/commit/ddea8b1d5e51cd0aa4317db9277a275b17126063
Author: Wenson Hsieh <wenson_hsieh at apple.com>
Date: 2025-02-11 (Tue, 11 Feb 2025)
Changed paths:
M Source/WebKit/UIProcess/ViewGestureController.cpp
Log Message:
-----------
[macOS] UI process sometimes crashes under ViewGestureController::disconnectFromProcess()
https://bugs.webkit.org/show_bug.cgi?id=287493
rdar://143899055
Reviewed by Charlie Wolfe and Abrar Rahman Protyasha.
Null check `m_mainFrameProcess` before attempting to remove the `ViewGestureController` message
receiver. In the case where the main `WebProcessProxy` outlives the controller, `WebProcessProxy`
teardown should already have cleaned up message receivers (and invoked any messages pending reply)
anyways, so it should be safe to avoid this removal step.
* Source/WebKit/UIProcess/ViewGestureController.cpp:
(WebKit::ViewGestureController::disconnectFromProcess):
Canonical link: https://commits.webkit.org/290239@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list