* Another slight tweak to the Voice Chat engine - crash caused by switching to shared module fixed.
parent
a2c639d668
commit
9f5586890a
|
@ -26,8 +26,8 @@ namespace OpenSim.Region.Environment.Modules.VoiceChat
|
||||||
Socket m_selectCancel;
|
Socket m_selectCancel;
|
||||||
bool m_enabled = false;
|
bool m_enabled = false;
|
||||||
|
|
||||||
Dictionary<Socket, VoiceClient> m_clients;
|
Dictionary<Socket, VoiceClient> m_clients = new Dictionary<Socket,VoiceClient>();
|
||||||
Dictionary<LLUUID, VoiceClient> m_uuidToClient;
|
Dictionary<LLUUID, VoiceClient> m_uuidToClient = new Dictionary<LLUUID,VoiceClient>();
|
||||||
|
|
||||||
|
|
||||||
#region IRegionModule Members
|
#region IRegionModule Members
|
||||||
|
@ -56,9 +56,6 @@ namespace OpenSim.Region.Environment.Modules.VoiceChat
|
||||||
if (m_enabled != true)
|
if (m_enabled != true)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
m_clients = new Dictionary<Socket, VoiceClient>();
|
|
||||||
m_uuidToClient = new Dictionary<LLUUID, VoiceClient>();
|
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
CreateListeningSocket();
|
CreateListeningSocket();
|
||||||
|
|
Loading…
Reference in New Issue