Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only notify handshake handler onClose if it can be successfully removed
Depending on how the connection is closed the `#onChannelClosed` callback might be invoked more than once or the handler has been processed by the response of the handshake already. This commit only notifies the handler if was removed from the pending map.
- Loading branch information