void OnDestroy() { _probe?.Dispose(); DisposePorts(); }
public void Dispose() { probe?.Dispose(); Disconnect(); onMidiSubject.Dispose(); }