Skip to content

Commit

Permalink
Comment about behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
ikopylov committed Apr 28, 2017
1 parent 3507379 commit 67f8fe3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ private void ThreadProcFunc()
{
Debug.Assert(prevState == QueueAsyncProcessorState.StopRequested);
_stoppedEvent.Set();
this.DisposeQueue();
this.DisposeQueue(); // Can throw exception
Profiling.Profiler.QueueAsyncProcessorDisposed(this.Name, false);
}
}
Expand Down Expand Up @@ -775,7 +775,7 @@ private bool StopProcessor(bool waitForStop, bool letFinishProcess, bool complet
{
Debug.Assert(prevState == QueueAsyncProcessorState.StopRequested);
_stoppedEvent.Set();
this.DisposeQueue();
this.DisposeQueue(); // Can throw exception
Profiling.Profiler.QueueAsyncProcessorDisposed(this.Name, false);
}
}
Expand Down

0 comments on commit 67f8fe3

Please sign in to comment.