public async Task Stop() { if (_messenger != null) { await _messenger.Disconnect(); _messenger.Dispose(); } }
public void Dispose() { ProbePublisher?.Dispose(); Probe.Stop(); Messenger.Disconnect(); }