Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Mono.Debugger.Soft] Make sure receiving thread always closes
When we want to close the connection, setting the close flag is not enough, because a thread can be already stuck in a blocking receive, without getting to check the flag. We fix this by additionaly breaking the connection, by using socket.Shutdown. Fixes mono#7377
- Loading branch information