Closes the web view when it’s no longer needed.
- macOS 10.5–10.14Deprecated
Closes the web view by unloading its webpage and canceling any pending load requests. A closed web view no longer responds to new requests nor sends delegate messages. It is invoked automatically if the receiver’s enclosing window or host window is closed and sending
should to the receiver returns
true. Use this method to stop the receiver from loading and sending delegate messages.