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