示例#1
0
 public void startTh(bool plOpening = false)
 {
     if (plOpening)
     {
         ffmpegTh = new FFmpegTh();
     }
     clientTh = new ClientTh();
     convTh   = new ConvTh();
     bgConvTh = new BgConvTh();
 }
示例#2
0
        public void endTh(bool plClosing = false)
        {
            BusyDlg.perform(delegate
            {
                if (plClosing)
                {
                    ffmpegTh.Dispose();
                    ffmpegTh = null;
                }
                clientTh.Dispose();
                clientTh = null;

                convTh.Dispose();
                convTh = null;

                bgConvTh.Dispose();
                bgConvTh = null;
            });
        }