close a resource on jobengine.close()
parent
f4745e5a35
commit
59f6353ac1
|
@ -136,7 +136,8 @@ namespace OpenSim.Framework.Monitoring
|
||||||
if(m_jobQueue.Count <= 0)
|
if(m_jobQueue.Count <= 0)
|
||||||
m_cancelSource.Cancel();
|
m_cancelSource.Cancel();
|
||||||
|
|
||||||
m_finishedProcessingAfterStop.WaitOne(RequestProcessTimeoutOnStop);
|
if(m_finishedProcessingAfterStop.WaitOne(RequestProcessTimeoutOnStop))
|
||||||
|
m_finishedProcessingAfterStop.Close();
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue