Removed all the trailing residue from the mutexes, fixed a Logout bug with closing the sim socket

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@395 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2006-10-25 21:22:18 +00:00
parent 5c1ec57c8c
commit d71f44c55f
7 changed files with 13 additions and 21 deletions

View File

@@ -30,7 +30,6 @@ using System.Timers;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.Security.Cryptography;
using Nwc.XmlRpc;
using Nii.JSON;
@@ -205,7 +204,7 @@ namespace libsecondlife
{
return;
}
Thread.Sleep(10);
System.Threading.Thread.Sleep(10);
}
}
catch (Exception e)
@@ -380,8 +379,8 @@ namespace libsecondlife
}
catch (SocketException)
{
Client.Log("Socket error, shutting down " + this.Region.Name +
" (" + endPoint.ToString() + ")", Helpers.LogLevel.Error);
Client.Log(endPoint.ToString() + " socket is closed, shutting down " + this.Region.Name,
Helpers.LogLevel.Info);
connected = false;
Network.DisconnectSim(this);
@@ -989,6 +988,8 @@ namespace libsecondlife
return;
}
Client.Log("Logging out", Helpers.LogLevel.Info);
DisconnectTimer.Stop();
connected = false;