diff options
author | Melanie | 2012-08-03 15:22:53 +0200 |
---|---|---|
committer | Melanie | 2012-08-03 15:22:53 +0200 |
commit | d677db338d8cfe8de5db5f279cd3638510b360c9 (patch) | |
tree | a652b4e48dffe53526ba6cdcef0fd0a7c443145f | |
parent | minor change avoiding a null reference (diff) | |
download | opensim-SC_OLD-d677db338d8cfe8de5db5f279cd3638510b360c9.zip opensim-SC_OLD-d677db338d8cfe8de5db5f279cd3638510b360c9.tar.gz opensim-SC_OLD-d677db338d8cfe8de5db5f279cd3638510b360c9.tar.bz2 opensim-SC_OLD-d677db338d8cfe8de5db5f279cd3638510b360c9.tar.xz |
Remove a merge artefaci in IsActive handling and restore commented out correct one
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 1304e16..1410cf6 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -517,7 +517,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
517 | /// </summary> | 517 | /// </summary> |
518 | public void Close(bool sendStop) | 518 | public void Close(bool sendStop) |
519 | { | 519 | { |
520 | // IsActive = false; | ||
521 | // We lock here to prevent race conditions between two threads calling close simultaneously (e.g. | 520 | // We lock here to prevent race conditions between two threads calling close simultaneously (e.g. |
522 | // a simultaneous relog just as a client is being closed out due to no packet ack from the old connection. | 521 | // a simultaneous relog just as a client is being closed out due to no packet ack from the old connection. |
523 | lock (CloseSyncLock) | 522 | lock (CloseSyncLock) |
@@ -525,7 +524,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
525 | if (!IsActive) | 524 | if (!IsActive) |
526 | return; | 525 | return; |
527 | 526 | ||
528 | // IsActive = false; | 527 | IsActive = false; |
529 | CloseWithoutChecks(sendStop); | 528 | CloseWithoutChecks(sendStop); |
530 | } | 529 | } |
531 | } | 530 | } |