Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve potential goroutine leak wien Disconnect called
If `Disconnect` was called whilst a connection attempt was in progress a goroutine leak occurred. This change allows the connection attempt to complete as normal (including calling the `OnConnect` callback) before the Disconnect is handled. closes #675
- Loading branch information