public void TearDown() { _handler1?.Dispose(); _handler2?.Dispose(); _port1?.Dispose(); _port2?.Dispose(); }
public void TearDown() { _device?.Dispose(); _device = null; _port?.Dispose(); _port = null; }
public void Dispose() { Writer.Dispose(); Motor.Dispose(); }
public void TearDown() { _motor?.Dispose(); _port?.Dispose(); }