Ejemplo n.º 1
0
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         lock (this.lockObj)
         {
             RawIrPlugin.DisposeData(this.monitorData, true);
             RawIrPlugin.DisposeData(this.inspectionData, true);
         }
     }
 }
Ejemplo n.º 2
0
        public void UninitializeRender(EventType eventType)
        {
            switch (eventType)
            {
            case EventType.Monitor:
                Debug.Assert(this.monitorData != null);
                RawIrPlugin.DisposeData(this.monitorData, false);
                break;

            case EventType.Inspection:
                Debug.Assert(this.inspectionData != null);
                RawIrPlugin.DisposeData(this.inspectionData, false);
                break;
            }
        }