mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
* Another slight tweak to the Voice Chat engine - crash caused by switching to shared module fixed.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user