close a resource on jobengine.close()

melanie
UbitUmarov 2016-11-22 22:29:13 +00:00
parent f4745e5a35
commit 59f6353ac1
1 changed files with 2 additions and 1 deletions

View File

@ -136,7 +136,8 @@ namespace OpenSim.Framework.Monitoring
if(m_jobQueue.Count <= 0)
m_cancelSource.Cancel();
m_finishedProcessingAfterStop.WaitOne(RequestProcessTimeoutOnStop);
if(m_finishedProcessingAfterStop.WaitOne(RequestProcessTimeoutOnStop))
m_finishedProcessingAfterStop.Close();
}
finally
{