RealtimeSTT icon indicating copy to clipboard operation
RealtimeSTT copied to clipboard

shutdown hanging on thread join

Open JayDeezus opened this issue 1 year ago • 2 comments

https://github.com/KoljaB/RealtimeSTT/blob/d02be1f6a6757f518864deb3f35a53b6b3563f21/RealtimeSTT/audio_recorder.py#L1209

I'm trying to track down why on my system sometimes (usually) when I Ctrl-C to shut down my app shutdown will hang on the aforementioned line. I tried subclassing and copying the shutdown method and inserting print statements to see how far it gets and it's getting hung while trying to join the recording_thread.

At this point, I'm just trying to separate concerns, so am trying to figure out if I can just stop the task in the thread and get this to join and move on somehow. Currently investigating.

JayDeezus avatar Aug 19 '24 22:08 JayDeezus