AForge.Video.Kinect.Kinect.StopStatusThread C# (CSharp) Méthode

StopStatusThread() private static méthode

private static StopStatusThread ( ) : void
Résultat void
        private static void StopStatusThread( )
        {
            lock ( statusThreadSync )
            {
                stopEvent.Set( );
                if ( !updateStatusThread.Join( 2000 ) )
                {
                    updateStatusThread.Abort( );
                }

                stopEvent.Close( );
                updateStatusThread = null;
                stopEvent = null;
            }
        }