mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
more changes to smartthreadpool
This commit is contained in:
6
ThirdParty/SmartThreadPool/WorkItem.cs
vendored
6
ThirdParty/SmartThreadPool/WorkItem.cs
vendored
@@ -987,6 +987,12 @@ namespace Amib.Threading.Internal
|
||||
_callerContext = null;
|
||||
}
|
||||
|
||||
if(_workItemCompleted != null)
|
||||
{
|
||||
_workItemCompleted.Dispose();
|
||||
_workItemCompleted = null;
|
||||
}
|
||||
|
||||
if (_workItemInfo.DisposeOfStateObjects)
|
||||
{
|
||||
IDisposable disp = _state as IDisposable;
|
||||
|
||||
Reference in New Issue
Block a user