Closes the given window.
NOTE: The closed window should be dereferenced in other places in order to be deallocated by the GC. If not, then it can be used to restore the window without creating a new one, potentially saving it's states.
See Implementation
Closes the given window.
NOTE: The closed window should be dereferenced in other places in order to be deallocated by the GC. If not, then it can be used to restore the window without creating a new one, potentially saving it's states.