From ab959bce2e82177301ac9a1a04591f8791db6586 Mon Sep 17 00:00:00 2001 From: Ivan Maslov Date: Mon, 10 Oct 2022 12:52:14 +0300 Subject: [PATCH] Audio minor fix --- Sources/pyOpenRPA/Robot/Audio.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/pyOpenRPA/Robot/Audio.py b/Sources/pyOpenRPA/Robot/Audio.py index ec615902..767dadfc 100644 --- a/Sources/pyOpenRPA/Robot/Audio.py +++ b/Sources/pyOpenRPA/Robot/Audio.py @@ -232,9 +232,11 @@ class Recorder: if inWaitCallbackChunkBool==True: for lItemThread in self.mCallbackChunkDefThreadList: if lItemThread.is_alive(): lItemThread.join() + self.mCallbackChunkDefThreadList = [] if inWaitCallbackStopBool==True: for lItemThread in self.mCallbackStopDefThreadList: if lItemThread.is_alive(): lItemThread.join() + self.mCallbackStopDefThreadList = [] def CaptureStop(self, inWaitStream=True, inExtra=None): """L-,W+: Остановить захват аудио