mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
ScriptServer fixes: Added more debug logging, mutex lock (to be extra-super-sure) on script load/unload, removed experimental Grid-scriptengine from compile because of dynamic module loader, and added random string to script filename to bypass module loader file lock.
Please delete your copy of bin/ScriptEngine/OpenSim.Grid.ScriptEngine.DotNetEngine.dll.
This commit is contained in:
@@ -82,6 +82,10 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||
|
||||
string EventName = m_Script.State() + "_event_" + FunctionName;
|
||||
|
||||
#if DEBUG
|
||||
Console.WriteLine("ScriptEngine: Script event function name: " + EventName);
|
||||
#endif
|
||||
|
||||
//type.InvokeMember(EventName, BindingFlags.InvokeMethod, null, m_Script, args);
|
||||
|
||||
//Console.WriteLine("ScriptEngine Executor.ExecuteEvent: \"" + EventName + "\"");
|
||||
@@ -112,6 +116,9 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||
return;
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
Console.WriteLine("ScriptEngine: Executing function name: " + EventName);
|
||||
#endif
|
||||
// Found
|
||||
//try
|
||||
//{
|
||||
|
||||
Reference in New Issue
Block a user