public void startTh(bool plOpening = false) { if (plOpening) { ffmpegTh = new FFmpegTh(); } clientTh = new ClientTh(); convTh = new ConvTh(); bgConvTh = new BgConvTh(); }
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; }); }