Пример #1
0
        public void Dispose()
        {
            if (_disposed)
            {
                return;
            }

            _disposed = true;

            _subscriber.OnEventReceived -= Event_Received;

            try
            {
                _publisher.Dispose();
                _subscriber.Dispose();
            }
            catch (IOException ex)
            {
                _logger.LogCritical(ex.ToString());
            }
        }
Пример #2
0
 /// <summary>
 ///
 /// </summary>
 public void Dispose()
 {
     _apkAanvraagLogRepository?.Dispose();
     _publisher?.Dispose();
 }
Пример #3
0
 /// <summary>
 ///
 /// </summary>
 public void Dispose()
 {
     _publisher?.Dispose();
 }