close

open override fun close()(source)

Destroys the window and frees the image cursor of setCursor. Using it afterwards is an error.