Bug 183988 - Introduce a ThreadSafeRefCounted parameter to ensure being destroyed on the main thread
Summary: Introduce a ThreadSafeRefCounted parameter to ensure being destroyed on the m...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: youenn fablet
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-03-24 17:13 PDT by youenn fablet
Modified: 2018-04-04 09:41 PDT (History)
6 users (show)

See Also:


Attachments
Patch (8.24 KB, patch)
2018-03-24 17:18 PDT, youenn fablet
no flags Details | Formatted Diff | Diff
build fix (9.55 KB, patch)
2018-03-25 11:32 PDT, youenn fablet
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description youenn fablet 2018-03-24 17:13:35 PDT
Some objects can be accessed from background threads but need to be destroyed on the main thread.
Comment 1 youenn fablet 2018-03-24 17:18:57 PDT
Created attachment 336487 [details]
Patch
Comment 2 youenn fablet 2018-03-25 11:32:16 PDT
Created attachment 336496 [details]
build fix
Comment 3 Darin Adler 2018-04-04 09:08:28 PDT
Comment on attachment 336496 [details]
build fix

Looks like a good solution. A bit awkward syntax at the use, but better than the code it’s replacing
Comment 4 WebKit Commit Bot 2018-04-04 09:40:13 PDT
Comment on attachment 336496 [details]
build fix

Clearing flags on attachment: 336496

Committed r230259: <https://trac.webkit.org/changeset/230259>
Comment 5 WebKit Commit Bot 2018-04-04 09:40:14 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 Radar WebKit Bug Importer 2018-04-04 09:41:31 PDT
<rdar://problem/39177013>