예제 #1
0
파일: CopyData.cs 프로젝트: zhk/greenshot
 /// <summary>
 /// Clears up any resources associated with this object.
 /// </summary>
 protected virtual void Dispose(bool disposing)
 {
     if (disposing && _channels != null)
     {
         _channels.Clear();
         _channels = null;
     }
 }
예제 #2
0
 /// <summary>
 /// Clears up any resources associated with this object.
 /// </summary>
 public void Dispose()
 {
     if (!disposed)
     {
         channels.Clear();
         channels = null;
         disposed = true;
         GC.SuppressFinalize(this);
     }
 }