RealtimeSTT
RealtimeSTT copied to clipboard
Fixed `abort()` bug keeping the recorder running
Fixed a bug.
When audio recorder is in recording state, calling abort() keeps the recorder running, the recorder then starts transcribing text if it gets enabled start() again.
The change just adds a self.stop() call after abort() code to ensure the recorder is stopped