diff options
Diffstat (limited to 'src/stable')
-rw-r--r-- | src/stable/client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stable/client.cpp b/src/stable/client.cpp index d9143d4..f6feb7c 100644 --- a/src/stable/client.cpp +++ b/src/stable/client.cpp | |||
@@ -245,7 +245,7 @@ const Bu::TcpSocket *Bu::Client::getSocket() const | |||
245 | 245 | ||
246 | void Bu::Client::disconnect() | 246 | void Bu::Client::disconnect() |
247 | { | 247 | { |
248 | Bu::ReadWriteMutex::ReadLocker lGlobal( mGlobal ); | 248 | Bu::ReadWriteMutex::WriteLocker lGlobal( mGlobal ); |
249 | bWantsDisconnect = true; | 249 | bWantsDisconnect = true; |
250 | } | 250 | } |
251 | 251 | ||