Ejemplo n.º 1
0
        public virtual void Dispose()
        {
            KernelCleanup();

            Close();

            if (mRecorder != null)
            {
                mRecorder.Dispose();
                mRecorder = null;
            }

            GC.SuppressFinalize(this);
        }
Ejemplo n.º 2
0
 public void Dispose()
 {
     if (NetworkChannel != null)
     {
         NetworkChannel.Dispose();
     }
     if (SnapshotSelctor != null)
     {
         SnapshotSelctor.Dispose();
     }
     if (OCController != null)
     {
         OCController.Dispose();
     }
     if (Record != null)
     {
         Record.Dispose();
     }
     if (Replay != null)
     {
         Replay.Dispose();
     }
 }