aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
diff options
context:
space:
mode:
authorMelanie Thielker2009-03-26 15:06:20 +0000
committerMelanie Thielker2009-03-26 15:06:20 +0000
commit706a2df5169fa72fb87f38858d4672c8ff26695a (patch)
treeda1dad724c7ead9edc07c245689d18fd7fd020bb /OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
parentAvoid preprocessing scripts on region restart just to generate the line (diff)
downloadopensim-SC_OLD-706a2df5169fa72fb87f38858d4672c8ff26695a.zip
opensim-SC_OLD-706a2df5169fa72fb87f38858d4672c8ff26695a.tar.gz
opensim-SC_OLD-706a2df5169fa72fb87f38858d4672c8ff26695a.tar.bz2
opensim-SC_OLD-706a2df5169fa72fb87f38858d4672c8ff26695a.tar.xz
Read the .map files in on sim startup. Also clean them up when an assembly
is deleted.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine/XEngine.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/XEngine/XEngine.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
index 0431d90..09480f6 100644
--- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
+++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
@@ -780,6 +780,9 @@ namespace OpenSim.Region.ScriptEngine.XEngine
780 780
781 if (File.Exists(m_Assemblies[assetID]+".mdb")) 781 if (File.Exists(m_Assemblies[assetID]+".mdb"))
782 File.Delete(m_Assemblies[assetID]+".mdb"); 782 File.Delete(m_Assemblies[assetID]+".mdb");
783
784 if (File.Exists(m_Assemblies[assetID]+".map"))
785 File.Delete(m_Assemblies[assetID]+".map");
783 } 786 }
784 catch (Exception) 787 catch (Exception)
785 { 788 {