Example #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         lock (this.lockObj)
         {
             BodyIndexPlugin.DisposeData(this.monitorData, true);
             BodyIndexPlugin.DisposeData(this.inspectionData, true);
         }
     }
 }
Example #2
0
        public void UninitializeRender(EventType eventType)
        {
            switch (eventType)
            {
            case EventType.Monitor:
                BodyIndexPlugin.DisposeData(this.monitorData, false);
                break;

            case EventType.Inspection:
                BodyIndexPlugin.DisposeData(this.inspectionData, false);
                break;
            }
        }