Exemplo n.º 1
0
 public void Dispose()
 {
     Adapter.Stop();
     _disposed = true;
     Disconnect();
     this.ReleaseHandle();
     GC.SuppressFinalize(this);
 }
Exemplo n.º 2
0
 /// <summary>TODO</summary>
 /// <param name="disposing"></param>
 protected virtual void Dispose(bool disposing)
 {
     if (!disposing && !_disposed)
     {
         Adapter.Stop();
         _disposed = true;
         Disconnect();
         this.ReleaseHandle();
     }
 }