public void Dispose() { if (_sender != null) { _sender.Dispose(); } }
public void Dispose() { // If context not shared - dispose it if (_context != _sharedContext && _context != null) { _context.Dispose(); } if (_sender != null) { _sender.Dispose(); } if (_pushSender != null) { _pushSender.Dispose(); } }