From c29f0dfdfa354874b5e6e93ecd12947256a0a733 Mon Sep 17 00:00:00 2001 From: Gary Bradski Date: Sun, 18 Mar 2012 23:01:31 +0000 Subject: [PATCH] added destroy all windows --- samples/python/watershed.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/samples/python/watershed.py b/samples/python/watershed.py index 1725acc09..0ea43bea5 100755 --- a/samples/python/watershed.py +++ b/samples/python/watershed.py @@ -105,3 +105,5 @@ if __name__ == "__main__": cv.AddWeighted(wshed, 0.5, img_gray, 0.5, 0, wshed) cv.ShowImage("watershed transform", wshed) + cv.DestroyAllWindows() +