From 1b0c8cdbb33327c7e2e6dfaf70b94604e75484c4 Mon Sep 17 00:00:00 2001 From: Sai Subhakar T <36569367+saimj7@users.noreply.github.com> Date: Tue, 4 May 2021 14:20:17 +0200 Subject: [PATCH] Update Run.py --- Run.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Run.py b/Run.py index a7f6fd7..cc3f991 100644 --- a/Run.py +++ b/Run.py @@ -326,6 +326,10 @@ def run(): # # otherwise, release the video file pointer # else: # vs.release() + + # issue 15 + if config.Thread: + vs.release() # close any open windows cv2.destroyAllWindows()