public void Dispose() { if (_disposed) { return; } _disposed = true; _subscriber.OnEventReceived -= Event_Received; try { _publisher.Dispose(); _subscriber.Dispose(); } catch (IOException ex) { _logger.LogCritical(ex.ToString()); } }
/// <summary> /// /// </summary> public void Dispose() { _apkAanvraagLogRepository?.Dispose(); _publisher?.Dispose(); }
/// <summary> /// /// </summary> public void Dispose() { _publisher?.Dispose(); }