update watershed.py: check if windows are still open
change the `while` loop to check if the two windows created by this example still exist, stop the program otherwise
Showing
Please
register
or
sign in
to comment
change the `while` loop to check if the two windows created by this example still exist, stop the program otherwise