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
Instead of spawning an arbitrary number of threads in the sequential threading handler allow for there to be a upper limit on the number of threads spawned (perhaps using a worker pool to handle these spawns) so that those threads can correctly be cleaned up when a handler is stopped. Right now those threads are spawned as daemon threads and never reclaimed, creating a hard/impossible to cleanup number of spawned threads.
The text was updated successfully, but these errors were encountered:
Fatal Python error: _enter_buffered_busy: could not acquire lock for <_io.BufferedWriter name='<stderr>'> at interpreter shutdown, possibly due to daemon threads
Instead of spawning an arbitrary number of threads in the sequential threading handler allow for there to be a upper limit on the number of threads spawned (perhaps using a worker pool to handle these spawns) so that those threads can correctly be cleaned up when a handler is stopped. Right now those threads are spawned as daemon threads and never reclaimed, creating a hard/impossible to cleanup number of spawned threads.
The text was updated successfully, but these errors were encountered: