From 5b7c24d855c5b414da6d6487a08871bbca93f27c Mon Sep 17 00:00:00 2001 From: Ivan Maslov Date: Sun, 9 Oct 2022 08:30:27 +0300 Subject: [PATCH] audio capture stop fixes --- Sources/pyOpenRPA/Robot/Audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/pyOpenRPA/Robot/Audio.py b/Sources/pyOpenRPA/Robot/Audio.py index f532df25..2bf459aa 100644 --- a/Sources/pyOpenRPA/Robot/Audio.py +++ b/Sources/pyOpenRPA/Robot/Audio.py @@ -238,8 +238,8 @@ class Recorder: :type inExtra: any, опционально """ self.mCaptureBool=False - if inWaitStream == True: self.mCaptureThread.join() self.mStream.stop_stream() + if inWaitStream == True: self.mCaptureThread.join() self.mStream.close() #Close module self.mAudio.terminate()