protected virtual void Dispose(bool disposing) { if (disposing) { lock (this.lockObj) { BodyIndexPlugin.DisposeData(this.monitorData, true); BodyIndexPlugin.DisposeData(this.inspectionData, true); } } }
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; } }