diff options
author | Adam Frisby | 2008-02-26 13:25:06 +0000 |
---|---|---|
committer | Adam Frisby | 2008-02-26 13:25:06 +0000 |
commit | 9f5586890a8069dee3afb5099b823fd6d214b43d (patch) | |
tree | 48794b93193bb0ce9aa264f531fdddaebb9fb8d7 /OpenSim | |
parent | * Small voice chat fix (diff) | |
download | opensim-SC_OLD-9f5586890a8069dee3afb5099b823fd6d214b43d.zip opensim-SC_OLD-9f5586890a8069dee3afb5099b823fd6d214b43d.tar.gz opensim-SC_OLD-9f5586890a8069dee3afb5099b823fd6d214b43d.tar.bz2 opensim-SC_OLD-9f5586890a8069dee3afb5099b823fd6d214b43d.tar.xz |
* Another slight tweak to the Voice Chat engine - crash caused by switching to shared module fixed.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Environment/Modules/VoiceChat/VoiceChatServer.cs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/OpenSim/Region/Environment/Modules/VoiceChat/VoiceChatServer.cs b/OpenSim/Region/Environment/Modules/VoiceChat/VoiceChatServer.cs index ad42216..68197bb 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 | |||
26 | Socket m_selectCancel; | 26 | Socket m_selectCancel; |
27 | bool m_enabled = false; | 27 | bool m_enabled = false; |
28 | 28 | ||
29 | Dictionary<Socket, VoiceClient> m_clients; | 29 | Dictionary<Socket, VoiceClient> m_clients = new Dictionary<Socket,VoiceClient>(); |
30 | Dictionary<LLUUID, VoiceClient> m_uuidToClient; | 30 | Dictionary<LLUUID, VoiceClient> m_uuidToClient = new Dictionary<LLUUID,VoiceClient>(); |
31 | 31 | ||
32 | 32 | ||
33 | #region IRegionModule Members | 33 | #region IRegionModule Members |
@@ -56,9 +56,6 @@ namespace OpenSim.Region.Environment.Modules.VoiceChat | |||
56 | if (m_enabled != true) | 56 | if (m_enabled != true) |
57 | return; | 57 | return; |
58 | 58 | ||
59 | m_clients = new Dictionary<Socket, VoiceClient>(); | ||
60 | m_uuidToClient = new Dictionary<LLUUID, VoiceClient>(); | ||
61 | |||
62 | try | 59 | try |
63 | { | 60 | { |
64 | CreateListeningSocket(); | 61 | CreateListeningSocket(); |