test: Fixing unit tests

This commit is contained in:
Chris Cameron
2019-02-07 17:13:25 -05:00
parent 644388edad
commit 72fd823643
2 changed files with 14 additions and 4 deletions

View File

@@ -56,7 +56,16 @@ namespace ICD.Common.Utils.Collections
{
OnItemDequeued = null;
m_DequeueTimer.Dispose();
m_QueueSection.Enter();
try
{
m_DequeueTimer.Dispose();
}
finally
{
m_QueueSection.Leave();
}
}
/// <summary>