Bug 227940

Summary: MediaSessionManagerCocoa::ensureCodecsRegistered() isn't thread-safe
Product: WebKit Reporter: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Component: MediaAssignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: RESOLVED FIXED    
Severity: Normal CC: eric.carlson, ews-watchlist, glenn, jer.noble, mjs, philipj, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar, Regression
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 225910    
Bug Blocks:    
Attachments:
Description Flags
Patch ews-feeder: commit-queue-

Description Jean-Yves Avenard [:jya] 2021-07-13 22:10:42 PDT
Apparently, C++11 feature that guarantees that static initialisation be thread-safe is disabled in webkit.

Making the change in bug 225910 wrong.

Should do initialisation in a different manner
Comment 1 Radar WebKit Bug Importer 2021-07-13 22:11:13 PDT
<rdar://problem/80557419>
Comment 2 Jean-Yves Avenard [:jya] 2021-07-13 22:21:43 PDT
Created attachment 433486 [details]
Patch
Comment 3 Maciej Stachowiak 2021-07-13 22:27:04 PDT
Comment on attachment 433486 [details]
Patch

r=me
Comment 4 EWS 2021-07-13 22:57:15 PDT
Committed r279905 (239654@main): <https://commits.webkit.org/239654@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 433486 [details].