summaryrefslogtreecommitdiff
path: root/qpid/dotnet/Qpid.Client/Client/BasicMessageConsumer.cs
diff options
context:
space:
mode:
authorSteven Shaw <steshaw@apache.org>2006-11-28 20:29:56 +0000
committerSteven Shaw <steshaw@apache.org>2006-11-28 20:29:56 +0000
commit99845d14a20360de46b1cb7aa1ddf7fd45b8aa8b (patch)
tree2df629345789ada664260f6680c3a4a945519c57 /qpid/dotnet/Qpid.Client/Client/BasicMessageConsumer.cs
parenteb4d957415a1fbe2451fdd1c7f3f18b7bc8d145f (diff)
downloadqpid-python-99845d14a20360de46b1cb7aa1ddf7fd45b8aa8b.tar.gz
Locked on FailoverMutex where necessary.
Noted that AMQConnection.CloseSession and BasicMessageConsumer.Close both lock on FailoverMutex but do ProtocolWriter.SyncWrite which probably means that they need to do the FailoverSupport thing instead. If it's a problem, it exists also in the Java client. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@480190 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/dotnet/Qpid.Client/Client/BasicMessageConsumer.cs')
-rw-r--r--qpid/dotnet/Qpid.Client/Client/BasicMessageConsumer.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/dotnet/Qpid.Client/Client/BasicMessageConsumer.cs b/qpid/dotnet/Qpid.Client/Client/BasicMessageConsumer.cs
index 6ffa8d1d6a..f0603b6e8a 100644
--- a/qpid/dotnet/Qpid.Client/Client/BasicMessageConsumer.cs
+++ b/qpid/dotnet/Qpid.Client/Client/BasicMessageConsumer.cs
@@ -255,6 +255,7 @@ namespace Qpid.Client
public override void Close()
{
+ // FIXME: Don't we need FailoverSupport here (as we have SyncWrite). i.e. rather than just locking FailOverMutex
lock (_channel.Connection.FailoverMutex)
{
lock (_closingLock)