AForge.Robotics.Surveyor.SRV1Camera.WaitForStop C# (CSharp) Method

WaitForStop() public method

Wait for video source has stopped.
Waits for video source stopping after it was signalled to stop using SignalToStop method.
public WaitForStop ( ) : void
return void
        public void WaitForStop( )
        {
            if ( thread != null )
            {
                // wait for thread stop
                thread.Join( );

                Free( );
            }
        }