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()