* One more attempted fix.

0.6.0-stable
Adam Frisby 2008-04-29 18:52:19 +00:00
parent d05c443b71
commit 3bcb75acfe
1 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@ namespace OpenSim.Region.Environment.Modules.Communications.Interregion
private IConfigSource m_config; private IConfigSource m_config;
private RemotingObject m_myRemote; private RemotingObject m_myRemote;
private Object m_lockObject = new object();
private TcpChannel m_tcpChannel; private TcpChannel m_tcpChannel;
private int m_tcpPort = 10101; private int m_tcpPort = 10101;
@ -84,7 +85,7 @@ namespace OpenSim.Region.Environment.Modules.Communications.Interregion
public void internal_CreateRemotingObjects() public void internal_CreateRemotingObjects()
{ {
lock (m_tcpChannel) lock (m_lockObject)
{ {
if (m_tcpChannel == null) if (m_tcpChannel == null)
{ {