Exemple #1
0
        protected virtual void Dispose(bool disposing)
        {
            if (jira != null)
            {
                logout();
            }

            if (disposing)
            {
                if (jira != null)
                {
                    jira.Dispose();
                    jira = null;
                }
            }
        }
Exemple #2
0
        public void Dispose()
        {
            try { if (!String.IsNullOrEmpty(_token))
                  {
                      _service.logout(_token);
                  }
            }
            catch { }
            finally { _token = null; }

            _service.Dispose();
        }
 public void Dispose()
 {
     service.Dispose();
 }