diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 8fd8a1c..a33554c 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -655,10 +655,10 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
655 | // | 655 | // |
656 | // Used by script instances to queue event handler jobs | 656 | // Used by script instances to queue event handler jobs |
657 | // | 657 | // |
658 | public IWorkItemResult QueueEventHandler(object parms) | 658 | public IScriptWorkItem QueueEventHandler(object parms) |
659 | { | 659 | { |
660 | return m_ThreadPool.QueueWorkItem(new WorkItemCallback( | 660 | return new XWorkItem(m_ThreadPool.QueueWorkItem(new WorkItemCallback( |
661 | this.ProcessEventHandler), parms); | 661 | this.ProcessEventHandler), parms)); |
662 | } | 662 | } |
663 | 663 | ||
664 | // | 664 | // |