Beispiel #1
0
        /// <summary>
        /// Stops the rendering thread, if present.
        /// Disposes the AVI writer resources.
        /// </summary>
        public void Dispose()
        {
            if (mThread != null)
            {
                mThreadMustStop = true;
                mThread.Join();
                mThread = null;
            }

            mAviBmp = null;
            if (mAviWriter != null)
            {
                mAviWriter.Dispose();
                mAviWriter = null;
            }
        }