Cgw.Common.VideoPipe.ShutdownPipedStream C# (CSharp) Method

ShutdownPipedStream() private method

关闭管道、释放资源
private ShutdownPipedStream ( ) : void
return void
        void ShutdownPipedStream()
        {
            NLogEx.LoggerEx logEx = new NLogEx.LoggerEx(log);
            try
            {
                pipedStream.Close();
                pipedStream.Dispose();
                pipedStream = null;
            }
            catch (System.Exception ex)
            {
                logEx.Error(ex.ToString());
            }
        }