From 3bcb75acfe31c09512c61968a8d10aa99b3030a3 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Tue, 29 Apr 2008 18:52:19 +0000 Subject: * One more attempted fix. --- .../Modules/Communications/Interregion/InterregionModule.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/Environment/Modules/Communications/Interregion/InterregionModule.cs b/OpenSim/Region/Environment/Modules/Communications/Interregion/InterregionModule.cs index 685aed9..b76a754 100644 --- a/OpenSim/Region/Environment/Modules/Communications/Interregion/InterregionModule.cs +++ b/OpenSim/Region/Environment/Modules/Communications/Interregion/InterregionModule.cs @@ -36,6 +36,7 @@ namespace OpenSim.Region.Environment.Modules.Communications.Interregion private IConfigSource m_config; private RemotingObject m_myRemote; + private Object m_lockObject = new object(); private TcpChannel m_tcpChannel; private int m_tcpPort = 10101; @@ -84,7 +85,7 @@ namespace OpenSim.Region.Environment.Modules.Communications.Interregion public void internal_CreateRemotingObjects() { - lock (m_tcpChannel) + lock (m_lockObject) { if (m_tcpChannel == null) { -- cgit v1.1