protected virtual void Dispose(bool disposing) { if (jira != null) { logout(); } if (disposing) { if (jira != null) { jira.Dispose(); jira = null; } } }
public void Dispose() { try { if (!String.IsNullOrEmpty(_token)) { _service.logout(_token); } } catch { } finally { _token = null; } _service.Dispose(); }
public void Dispose() { service.Dispose(); }