Closed as not planned
Description
Problem Statement
In Python 3.12 it's not possible to spawn new threads on interpreter shutdown. We patched our background worker that's responsible for sending events in an atexit hook to not attempt to send any pending events if it doesn't have an active thread in #2468.
Solution Brainstorm
Make the background worker aware that the interpreter is shutting down and if it doesn't have its own thread, make it use the main thread for sending any pending events. (Might not be possible.)
Or: Make the background worker always have a thread active?
Metadata
Metadata
Assignees
Labels
No labels