Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle special case when disposing a socket.
When disposing a socket that has more than one asynchronous read/write pending, one of the callbacks could call DisposeAllOnClose() while another one is waiting on the lock. Once the lock is acquired, queue.Count will be 0 and Dequeue would fail. This if fixed now. Fixes bug #645675.
- Loading branch information