Example #1
0
 private void StopThread()
 {
     if (_thread != null)
     {
         _thread.Dispose();
         _thread = null;
     }
 }
Example #2
0
        private void StartThread()
        {
            if (_thread != null)
            {
                StopThread();
            }

            _thread = new LoopThread(OnEventTick);
        }