Thank you kindly, TLaukkan, for a patch that:

Adds connectivity to grid regions. 
* Fixed UserService cast.
* Added exception handling to avoid mxp message handling 
thread to exit and hang the module on unhandled exception.
This commit is contained in:
Charles Krinke
2009-04-22 19:27:35 +00:00
parent 4c80685563
commit 0f08f4cc4b
2 changed files with 102 additions and 84 deletions

View File

@@ -83,13 +83,20 @@ namespace OpenSim.Client.MXP
m_ticker.Start();
m_log.Info("[MXP] MXP Enabled and Listening");
m_log.Info("[MXP ClientStack] MXP Enabled and Listening");
}
}
void ticker_Elapsed(object sender, ElapsedEventArgs e)
{
m_server.Process();
try
{
m_server.Process();
}
catch (Exception ex)
{
m_log.Error("[MXP ClientStack]: Unhandled exception in process loop: " + ex.ToString() + " :" + ex.StackTrace.ToString());
}
if (!m_shutdown)
m_ticker.Start();