private void MainForm_FormClosing(object sender, FormClosingEventArgs e) { Rtc?.Dispose(); RtcExt1DInput?.Dispose(); RtcExt1DOutput?.Dispose(); RtcExt2DOutput?.Dispose(); }