Removes the socket from the event loop, shutting it down if necessary, and cleans up the underlying resources. Only after this method has been called may the socket instance be deallocated.
See Implementation
Removes the socket from the event loop, shutting it down if necessary, and cleans up the underlying resources. Only after this method has been called may the socket instance be deallocated.