Tells the delegate that the user has attempted to close a window or the window has received a
- macOS 10.0+
The window being closed.
true to allow
sender to be closed; otherwise,
This method may not always be called during window closing. Specifically, this method is not called when a user quits an application.