public void Dispose() { try { Data?.Dispose(); } catch { /* ignored*/ } try { Signal?.Dispose(); } catch { /* ignored*/ } Data = null; Signal = null; }
public static void Dispose() { _isEnsured = false; try { _dataBus?.Dispose(); } catch { /* ignored*/ } try { _signalBus?.Dispose(); } catch { /* ignored*/ } }