Fix thread-local shutdown of RecordingStream
on Mac and WIndows
#3937
Labels
Milestone
RecordingStream
on Mac and WIndows
#3937
RecordingStream::set_thread_local
on macOS #3929Calling
RecordingStream::set_thread_local
on Mac and WIndows used to cause a crash during shutdown (#2889). In #3929 we replaced this with an ugly, arbitrary sleep instead.This sleep has two downsides:
A better fix would do something like:
The problem is we cannot use any channels for this, so we would need to rely on atomic bools and similar.
The text was updated successfully, but these errors were encountered: