Remove readonly modifier from mutable reference type fields, as per https://msdn.microsoft.com/en-us/library/ms182302.aspx

This commit is contained in:
Oliver Whyte 2016-08-22 14:07:41 -07:00
parent 996b9a04ba
commit 779049ed3a

View file

@ -128,8 +128,8 @@ namespace VideoFrameAnalyzer
protected Predicate<VideoFrame> _analysisPredicate = null;
protected VideoCapture _reader = null;
protected Timer _timer = null;
protected readonly SemaphoreSlim _timerMutex = new SemaphoreSlim(1);
protected readonly AutoResetEvent _frameGrabTimer = new AutoResetEvent(false);
protected SemaphoreSlim _timerMutex = new SemaphoreSlim(1);
protected AutoResetEvent _frameGrabTimer = new AutoResetEvent(false);
protected bool _stopping = false;
protected Task _producerTask = null;
protected Task _consumerTask = null;