Guarding the methods under if (m_Enabled)
parent
cde6b0d5ab
commit
689eea3bad
|
@ -135,7 +135,8 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid
|
|||
|
||||
public void PostInitialise()
|
||||
{
|
||||
((ISharedRegionModule)m_GridServiceConnector).PostInitialise();
|
||||
if (m_Enabled)
|
||||
((ISharedRegionModule)m_GridServiceConnector).PostInitialise();
|
||||
}
|
||||
|
||||
public void Close()
|
||||
|
@ -157,8 +158,11 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid
|
|||
|
||||
public void RemoveRegion(Scene scene)
|
||||
{
|
||||
m_LocalScenes.Remove(scene.RegionInfo.RegionHandle);
|
||||
((ISharedRegionModule)m_GridServiceConnector).RemoveRegion(scene);
|
||||
if (m_Enabled)
|
||||
{
|
||||
m_LocalScenes.Remove(scene.RegionInfo.RegionHandle);
|
||||
((ISharedRegionModule)m_GridServiceConnector).RemoveRegion(scene);
|
||||
}
|
||||
}
|
||||
|
||||
public void RegionLoaded(Scene scene)
|
||||
|
|
Loading…
Reference in New Issue