Currently TextCheckerMac.mm stores the TextCheckerState object in a file-local variables that has external linkage. This is unnecessary. Moreover we need to do a dance with other static variables to initialize this external variable exactly once per process. We should use a static file-local, non-member function and NeverDestroyed to simplify this code.
Created attachment 347707 [details] Patch
Comment on attachment 347707 [details] Patch Clearing flags on attachment: 347707 Committed r235379: <https://trac.webkit.org/changeset/235379>
All reviewed patches have been landed. Closing bug.
<rdar://problem/43758177>