Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: f652470e9274add7e6e019ef813abd399f9dc4db https://github.com/WebKit/WebKit/commit/f652470e9274add7e6e019ef813abd399f9dc4db Author: Youenn Fablet <you...@apple.com> Date: 2024-11-20 (Wed, 20 Nov 2024)
Changed paths: M Source/WebKit/WebProcess/GPU/media/RemoteRemoteCommandListener.cpp Log Message: ----------- Improve RemoteRemoteCommandListener message receiver unregistration rdar://140261827 https://bugs.webkit.org/show_bug.cgi?id=283403 Reviewed by Jean-Yves Avenard. We now use the more efficient remove message receiver variant, which reduces the searches made on the message receiver structures. We add an ASSERT in RemoteRemoteCommandListener::gpuProcessConnectionDidClose like done elsewhere for extra safety. This patch will also slightly change the crash traces that we see where RemoteRemoteCommandListener is not always unregistered properly. This will help further debugging why we see that debug ASSERT. * Source/WebKit/WebProcess/GPU/media/RemoteRemoteCommandListener.cpp: (WebKit::RemoteRemoteCommandListener::~RemoteRemoteCommandListener): (WebKit::RemoteRemoteCommandListener::ensureGPUProcessConnection): (WebKit::RemoteRemoteCommandListener::gpuProcessConnectionDidClose): Canonical link: https://commits.webkit.org/286850@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes