You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initialize TSD on macOS even without Swift runtime (#1695)
Without this, you get some really fun to debug segfaults at runtime
because (among other things I assume) CFRunLoopGetCurrent queries TSD
to avoid doing the heavier _CFRunLoopGet0 (which then sets the TSD to
avoid later work). But if we don't initialize the TSD machinery, the
_CFGetTSD function returns garbage and we never get a valid CFRunLoopRef
0 commit comments