public override void Dispose() { mLog.Dispose(); mLog = null; base.Dispose(); }
public override void Dispose() { if (myLine != null) { myLine.Dispose(); } myLine = null; if (mBBC != null) { mBBC.Dispose(); } mBBC = null; if (mLog != null) { mLog.Dispose(); } mLog = null; //force collect befor root gets Dispose GC.Collect(); base.Dispose(); }
/// <summary> /// Disposes /// </summary> public override void Dispose() { mLightNode = null; mLight = null; mpObjsNode = null; mStaticGeom = null; mAnimState = null; mSceneManager.ClearScene(); mLightWibbler.Dispose(); mLightWibbler = null; //ControllerManager contMgr = ControllerManager.GetSingleton(); //contMgr.DestroyController( mLightCtlFlt ); mLightCtlFlt = null; mWFCF = null; mCFFPtr = null; mCVFPtr = null; mLog.Dispose(); mLog = null; //GC.Collect(); base.Dispose(); }
public override void Dispose() { foreach (CeguiDotNet.Imageset imgset in mDebugRTTImageSets) { CeguiDotNet.ImagesetManager.getSingleton().destroyImageset(imgset); } mDebugRTTImageSets.Clear(); mDebugRTTImageSets = null; mMainNode = null; mSpinny = null; mhvListener.Dispose(); mhvListener = null; mhdrListener.Dispose(); mhdrListener = null; mCompositorSelectorViewManager = null; mGuiAvg = null; mGuiCurr = null; mGuiBest = null; mGuiWorst = null; mGuiTris = null; mGuiDbg = null; mGuiRoot = null; mDebugRTTListbox = null; mDebugRTTImageSets = null; if (WindowManager.Instance != null) { WindowManager.Instance.destroyAllWindows(); } if (mGuiSystem != null) { mGuiSystem.Dispose(); } mGuiSystem = null; if (mGuiRenderer != null) { mGuiRenderer.Dispose(); } mGuiRenderer = null; if (mLog != null) { mLog.Dispose(); } mLog = null; base.Dispose(); }
public override void Dispose() { mRay.Dispose(); mRay = null; mRaySceneQuery.Dispose(); mRaySceneQuery = null; /*if (myLine != null) * { * SceneNode n = mSceneManager.GetSceneNode("Line1"); * if (n!= null) * n.DetachObject(myLine); * myLine.Dispose(); * }*/ myLine.Dispose(); myLine = null; mLog.Dispose(); mLog = null; base.Dispose(); }