* Another slight tweak to the Voice Chat engine - crash caused by switching to shared module fixed.

0.6.0-stable
Adam Frisby 2008-02-26 13:25:06 +00:00
parent a2c639d668
commit 9f5586890a
1 changed files with 2 additions and 5 deletions

View File

@ -26,8 +26,8 @@ namespace OpenSim.Region.Environment.Modules.VoiceChat
Socket m_selectCancel;
bool m_enabled = false;
Dictionary<Socket, VoiceClient> m_clients;
Dictionary<LLUUID, VoiceClient> m_uuidToClient;
Dictionary<Socket, VoiceClient> m_clients = new Dictionary<Socket,VoiceClient>();
Dictionary<LLUUID, VoiceClient> m_uuidToClient = new Dictionary<LLUUID,VoiceClient>();
#region IRegionModule Members
@ -56,9 +56,6 @@ namespace OpenSim.Region.Environment.Modules.VoiceChat
if (m_enabled != true)
return;
m_clients = new Dictionary<Socket, VoiceClient>();
m_uuidToClient = new Dictionary<LLUUID, VoiceClient>();
try
{
CreateListeningSocket();