diff options
author | UbitUmarov | 2017-05-23 03:26:32 +0100 |
---|---|---|
committer | UbitUmarov | 2017-05-23 03:26:32 +0100 |
commit | 928733efc908e25ea460ca4724a8846a4fb71fa1 (patch) | |
tree | b6714acf2088da56367ef3a11acf85fe48873bbe /OpenSim/Region | |
parent | no all mono versions know DnsRefreshTimeout (diff) | |
download | opensim-SC-928733efc908e25ea460ca4724a8846a4fb71fa1.zip opensim-SC-928733efc908e25ea460ca4724a8846a4fb71fa1.tar.gz opensim-SC-928733efc908e25ea460ca4724a8846a4fb71fa1.tar.bz2 opensim-SC-928733efc908e25ea460ca4724a8846a4fb71fa1.tar.xz |
please DIE! PLEASE??
Diffstat (limited to 'OpenSim/Region')
4 files changed, 14 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs b/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs index 5d66d34..8c44ee2 100644 --- a/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs +++ b/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs | |||
@@ -106,6 +106,8 @@ namespace OpenSim.Region.CoreModules.Hypergrid | |||
106 | if (!m_Enabled) | 106 | if (!m_Enabled) |
107 | return; | 107 | return; |
108 | 108 | ||
109 | base.RemoveRegion(scene); | ||
110 | |||
109 | scene.EventManager.OnClientClosed -= EventManager_OnClientClosed; | 111 | scene.EventManager.OnClientClosed -= EventManager_OnClientClosed; |
110 | } | 112 | } |
111 | 113 | ||
diff --git a/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs b/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs index dabff60..57dc556 100644 --- a/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs +++ b/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs | |||
@@ -415,6 +415,7 @@ namespace OpenSim.Region.CoreModules.Scripting.HttpRequest | |||
415 | 415 | ||
416 | public void Close() | 416 | public void Close() |
417 | { | 417 | { |
418 | ThreadPool.Shutdown(); | ||
418 | } | 419 | } |
419 | 420 | ||
420 | public string Name | 421 | public string Name |
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs index 5dcf326..00c8279 100644 --- a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs +++ b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | |||
@@ -215,6 +215,8 @@ namespace OpenSim.Region.CoreModules.World.WorldMap | |||
215 | m_scene.EventManager.OnNewClient -= OnNewClient; | 215 | m_scene.EventManager.OnNewClient -= OnNewClient; |
216 | m_scene.EventManager.OnRegisterCaps -= OnRegisterCaps; | 216 | m_scene.EventManager.OnRegisterCaps -= OnRegisterCaps; |
217 | 217 | ||
218 | m_scene.UnregisterModuleInterface<IWorldMapModule>(this); | ||
219 | |||
218 | string regionimage = "regionImage" + m_scene.RegionInfo.RegionID.ToString(); | 220 | string regionimage = "regionImage" + m_scene.RegionInfo.RegionID.ToString(); |
219 | regionimage = regionimage.Replace("-", ""); | 221 | regionimage = regionimage.Replace("-", ""); |
220 | MainServer.Instance.RemoveLLSDHandler("/MAP/MapItems/" + m_scene.RegionInfo.RegionHandle.ToString(), | 222 | MainServer.Instance.RemoveLLSDHandler("/MAP/MapItems/" + m_scene.RegionInfo.RegionHandle.ToString(), |
@@ -1148,7 +1150,12 @@ namespace OpenSim.Region.CoreModules.World.WorldMap | |||
1148 | List<MapBlockRequestData> thisRunData = new List<MapBlockRequestData>(); | 1150 | List<MapBlockRequestData> thisRunData = new List<MapBlockRequestData>(); |
1149 | while (true) | 1151 | while (true) |
1150 | { | 1152 | { |
1151 | m_mapBlockRequestEvent.WaitOne(); | 1153 | while(!m_mapBlockRequestEvent.WaitOne(4900)) |
1154 | { | ||
1155 | if(m_scene == null) | ||
1156 | return; | ||
1157 | } | ||
1158 | |||
1152 | lock (m_mapBlockRequestEvent) | 1159 | lock (m_mapBlockRequestEvent) |
1153 | { | 1160 | { |
1154 | int total = 0; | 1161 | int total = 0; |
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 0ccc683..2e39033 100755 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -827,6 +827,9 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
827 | if (m_ScriptEngines.Contains(this)) | 827 | if (m_ScriptEngines.Contains(this)) |
828 | m_ScriptEngines.Remove(this); | 828 | m_ScriptEngines.Remove(this); |
829 | } | 829 | } |
830 | |||
831 | lock(m_Scripts) | ||
832 | m_ThreadPool.Shutdown(); | ||
830 | } | 833 | } |
831 | 834 | ||
832 | public object DoBackup(object o) | 835 | public object DoBackup(object o) |