Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a0ac9c783f0fb75e6a8355872f6d1438ac102ba8
https://github.com/WebKit/WebKit/commit/a0ac9c783f0fb75e6a8355872f6d1438ac102ba8
Author: Carlos Garcia Campos <[email protected]>
Date: 2025-11-06 (Thu, 06 Nov 2025)
Changed paths:
M Source/WTF/wtf/glib/ActivityObserver.h
M Source/WTF/wtf/glib/RunLoopGLib.cpp
Log Message:
-----------
[GLIB] Use a lock to protect m_callback in ActivityObserver
https://bugs.webkit.org/show_bug.cgi?id=302083
Reviewed by Nikolas Zimmermann.
ActivityObserver::stop() and ActivityObserver::notify() can be called
from different threads. This patch also changes
RunLoop::notifyActivity() to simply call ActivityObserver::stop() after
notify if the observer needs to be destroyed to ensure that
ActivityObserver::stop() is the only way to remove the observer.
Canonical link: https://commits.webkit.org/302703@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications