dispose of jobengine queue

master
UbitUmarov 2020-05-01 15:42:02 +01:00
parent 5fa81a6ca9
commit 929fa3efbd
1 changed files with 8 additions and 0 deletions

View File

@ -131,7 +131,15 @@ namespace OpenSim.Framework.Monitoring
finally finally
{ {
if(m_cancelSource != null) if(m_cancelSource != null)
{
m_cancelSource.Dispose(); m_cancelSource.Dispose();
m_cancelSource = null;
}
if (m_jobQueue != null)
{
m_jobQueue .Dispose();
m_jobQueue = null;
}
} }
} }
} }