From 9f5586890a8069dee3afb5099b823fd6d214b43d Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Tue, 26 Feb 2008 13:25:06 +0000 Subject: [PATCH] * Another slight tweak to the Voice Chat engine - crash caused by switching to shared module fixed. --- .../Environment/Modules/VoiceChat/VoiceChatServer.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/OpenSim/Region/Environment/Modules/VoiceChat/VoiceChatServer.cs b/OpenSim/Region/Environment/Modules/VoiceChat/VoiceChatServer.cs index ad4221639e..68197bb6b6 100644 --- a/OpenSim/Region/Environment/Modules/VoiceChat/VoiceChatServer.cs +++ b/OpenSim/Region/Environment/Modules/VoiceChat/VoiceChatServer.cs @@ -26,8 +26,8 @@ namespace OpenSim.Region.Environment.Modules.VoiceChat Socket m_selectCancel; bool m_enabled = false; - Dictionary m_clients; - Dictionary m_uuidToClient; + Dictionary m_clients = new Dictionary(); + Dictionary m_uuidToClient = new Dictionary(); #region IRegionModule Members @@ -56,9 +56,6 @@ namespace OpenSim.Region.Environment.Modules.VoiceChat if (m_enabled != true) return; - m_clients = new Dictionary(); - m_uuidToClient = new Dictionary(); - try { CreateListeningSocket();