Move the blocking code outside of the lock section to avoid race condition when shutt...
authorJim Gomes <jgomes@apache.org>
Wed, 11 Dec 2013 19:57:05 +0000 (19:57 +0000)
committerJim Gomes <jgomes@apache.org>
Wed, 11 Dec 2013 19:57:05 +0000 (19:57 +0000)
commit7043fa0c234d8f868aee03da79197b680b12ce2d
tree27ed43556d59fc71958b463a529d8f75e5496d37
parent87dd2ac39e4c89ebb1a6ea4dcc669e2d35a6e32a
Move the blocking code outside of the lock section to avoid race condition when shutting down.
Fixes [AMQNET-338]. (See https://issues.apache.org/jira/browse/AMQNET-338)
src/main/csharp/Transport/Tcp/TcpTransport.cs