diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/CodeTools')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs index 162f323..1029184 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs | |||
@@ -527,8 +527,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
527 | break; | 527 | break; |
528 | case enumCompileType.cs: | 528 | case enumCompileType.cs: |
529 | case enumCompileType.lsl: | 529 | case enumCompileType.lsl: |
530 | results = CScodeProvider.CompileAssemblyFromSource( | 530 | lock (CScodeProvider) |
531 | parameters, Script); | 531 | { |
532 | results = CScodeProvider.CompileAssemblyFromSource( | ||
533 | parameters, Script); | ||
534 | } | ||
532 | break; | 535 | break; |
533 | case enumCompileType.js: | 536 | case enumCompileType.js: |
534 | results = JScodeProvider.CompileAssemblyFromSource( | 537 | results = JScodeProvider.CompileAssemblyFromSource( |