destroyWindow terminates the application when the window is already closed

workaround: check the value of cv.getWindowProperty("asdf", cv.WND_PROP_VISIBLE) before trying to destroy

it’s a recent commit:

and this is the git blame of the line that throws the error:

you could make the case that this should not be an error. you could submit an issue on the github about it. or even a pull request!

the documentation should specify this behavior either way (but doesn’t)

1 Like