diff options
author | UbitUmarov | 2018-03-09 22:44:58 +0000 |
---|---|---|
committer | UbitUmarov | 2018-03-09 22:44:58 +0000 |
commit | 2369ce413d7d6e2b5b368ef11239263eec5eac74 (patch) | |
tree | a47b9faf126b4cd4bca962a1aa43e062b3d64272 /OpenSim/Region/ScriptEngine/YEngine/MMRScriptCompile.cs | |
parent | remove a unnecessay file check (diff) | |
download | opensim-SC-2369ce413d7d6e2b5b368ef11239263eec5eac74.zip opensim-SC-2369ce413d7d6e2b5b368ef11239263eec5eac74.tar.gz opensim-SC-2369ce413d7d6e2b5b368ef11239263eec5eac74.tar.bz2 opensim-SC-2369ce413d7d6e2b5b368ef11239263eec5eac74.tar.xz |
Yengine: only retry compile if there was a object file in cache with wrong version or signature
Diffstat (limited to 'OpenSim/Region/ScriptEngine/YEngine/MMRScriptCompile.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/YEngine/MMRScriptCompile.cs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/OpenSim/Region/ScriptEngine/YEngine/MMRScriptCompile.cs b/OpenSim/Region/ScriptEngine/YEngine/MMRScriptCompile.cs index bb5fdf7..f37efd4 100644 --- a/OpenSim/Region/ScriptEngine/YEngine/MMRScriptCompile.cs +++ b/OpenSim/Region/ScriptEngine/YEngine/MMRScriptCompile.cs | |||
@@ -124,13 +124,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine | |||
124 | finally | 124 | finally |
125 | { | 125 | { |
126 | // In case something went wrong writing temp file, delete it. | 126 | // In case something went wrong writing temp file, delete it. |
127 | try | 127 | File.Delete (tmpFileName); |
128 | { | ||
129 | File.Delete (tmpFileName); | ||
130 | } | ||
131 | catch | ||
132 | { | ||
133 | } | ||
134 | } | 128 | } |
135 | 129 | ||
136 | // Since we just wrote the .xmrobj file, maybe save disassembly. | 130 | // Since we just wrote the .xmrobj file, maybe save disassembly. |