Prevent a null ref when an avatar login doesn't go as planned

This commit is contained in:
Melanie
2010-12-22 03:25:30 +01:00
parent e9382c2939
commit cf37b3b943
3 changed files with 4 additions and 3 deletions

View File

@@ -127,7 +127,7 @@ namespace OpenSim.Framework
m_threads.Add(threadInfo.Thread.ManagedThreadId, threadInfo);
}
private static bool RemoveThread(int threadID)
public static bool RemoveThread(int threadID)
{
lock (m_threads)
return m_threads.Remove(threadID);