clientview IsActive use is broken. Suspend it's use keeping it true ( to

review later)
avinationmerge
UbitUmarov 2012-08-03 15:19:31 +01:00
parent 3460319f1e
commit 879d1cefb8
1 changed files with 3 additions and 3 deletions

View File

@ -517,7 +517,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
/// </summary> /// </summary>
public void Close(bool sendStop) public void Close(bool sendStop)
{ {
IsActive = false; // IsActive = false;
// We lock here to prevent race conditions between two threads calling close simultaneously (e.g. // We lock here to prevent race conditions between two threads calling close simultaneously (e.g.
// a simultaneous relog just as a client is being closed out due to no packet ack from the old connection. // a simultaneous relog just as a client is being closed out due to no packet ack from the old connection.
lock (CloseSyncLock) lock (CloseSyncLock)
@ -525,7 +525,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
if (!IsActive) if (!IsActive)
return; return;
IsActive = false; // IsActive = false;
CloseWithoutChecks(sendStop); CloseWithoutChecks(sendStop);
} }
} }
@ -552,7 +552,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
OutPacket(disable, ThrottleOutPacketType.Unknown); OutPacket(disable, ThrottleOutPacketType.Unknown);
} }
IsActive = false; // IsActive = false;
// Shutdown the image manager // Shutdown the image manager
ImageManager.Close(); ImageManager.Close();