AForge.Robotics.TeRK.Qwerk.Video.SignalToStop C# (CSharp) Method

SignalToStop() public method

Signal video source to stop its work.
Signals video source to stop its background thread, stop to provide new frames and free resources.
public SignalToStop ( ) : void
return void
            public void SignalToStop( )
            {
                // stop thread
                if ( thread != null )
                {
                    // signal to stop
                    stopEvent.Set( );
                }
            }