summaryrefslogtreecommitdiff
path: root/dotnet
diff options
context:
space:
mode:
authorTomas Restrepo <tomasr@apache.org>2007-05-10 23:04:43 +0000
committerTomas Restrepo <tomasr@apache.org>2007-05-10 23:04:43 +0000
commit0ad17d6c2bc2a44f7c9342f4c96f808f4ec1c9f7 (patch)
tree6d883818e2a65a8e4aa4301112dc5ed109f70de2 /dotnet
parentc10d31cbbbed7b2997816cb9d296c679073b8aa5 (diff)
downloadqpid-python-0ad17d6c2bc2a44f7c9342f4c96f808f4ec1c9f7.tar.gz
Merged revisions 537029 via svnmerge from
https://svn.apache.org/repos/asf/incubator/qpid/branches/M2 ........ r537029 | tomasr | 2007-05-10 17:59:58 -0500 (Thu, 10 May 2007) | 1 line Fixed race condition introduced by QPID-398, removed unneeded files ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@537033 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dotnet')
-rw-r--r--dotnet/Qpid.Client/Client/Transport/Socket/Blocking/BlockingSocketProcessor.cs0
-rw-r--r--dotnet/Qpid.Client/Client/Transport/Socket/Blocking/BlockingSocketTransport.cs8
2 files changed, 4 insertions, 4 deletions
diff --git a/dotnet/Qpid.Client/Client/Transport/Socket/Blocking/BlockingSocketProcessor.cs b/dotnet/Qpid.Client/Client/Transport/Socket/Blocking/BlockingSocketProcessor.cs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/dotnet/Qpid.Client/Client/Transport/Socket/Blocking/BlockingSocketProcessor.cs
+++ /dev/null
diff --git a/dotnet/Qpid.Client/Client/Transport/Socket/Blocking/BlockingSocketTransport.cs b/dotnet/Qpid.Client/Client/Transport/Socket/Blocking/BlockingSocketTransport.cs
index 607b7ca422..1fb07fb245 100644
--- a/dotnet/Qpid.Client/Client/Transport/Socket/Blocking/BlockingSocketTransport.cs
+++ b/dotnet/Qpid.Client/Client/Transport/Socket/Blocking/BlockingSocketTransport.cs
@@ -118,16 +118,16 @@ namespace Qpid.Client.Transport.Socket.Blocking
try
{
Queue frames = _amqpChannel.EndRead(result);
- // if we're not stopping, post a read again
- bool stopping = _stopEvent.WaitOne(0, false);
- if ( !stopping )
- _amqpChannel.BeginRead(new AsyncCallback(OnAsyncReadDone), null);
// process results
foreach ( IDataBlock dataBlock in frames )
{
_protocolListener.OnMessage(dataBlock);
}
+ // if we're not stopping, post a read again
+ bool stopping = _stopEvent.WaitOne(0, false);
+ if ( !stopping )
+ _amqpChannel.BeginRead(new AsyncCallback(OnAsyncReadDone), null);
} catch ( Exception e )
{
_protocolListener.OnException(e);