[webkit-changes] [WebKit/WebKit] 46c9ca: Release assert in TimerBase::setNextFireTime via D...
Ryosuke Niwa
noreply at github.com
Mon Aug 12 12:08:55 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 46c9caf0ef79bcb88a2ec52d949df21c8040b8ab
https://github.com/WebKit/WebKit/commit/46c9caf0ef79bcb88a2ec52d949df21c8040b8ab
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2024-08-12 (Mon, 12 Aug 2024)
Changed paths:
M Source/WebCore/editing/cocoa/DataDetection.mm
Log Message:
-----------
Release assert in TimerBase::setNextFireTime via DispatchWorkItem::~DispatchWorkItem
https://bugs.webkit.org/show_bug.cgi?id=277955
Reviewed by Chris Dumez and Wenson Hsieh.
The release assert was hit because we were trying to destruct Document in a background thread.
Fixed the bug by destructing the document and other main-thread only objects in the main thread.
* Source/WebCore/editing/cocoa/DataDetection.mm:
(WebCore::DataDetection::detectContentInFrame):
Canonical link: https://commits.webkit.org/282128@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