protected dispose ( bool disposeManagedResources ) : void | ||
disposeManagedResources | bool | True if Unmanaged resources should be released. |
리턴 | void |
protected override void dispose( bool disposeManagedResources )
{
if ( !this.IsDisposed )
{
if ( disposeManagedResources )
{
if ( this._debugRenderable != null )
{
if ( !this._debugRenderable.IsDisposed )
this._debugRenderable.Dispose();
this._debugRenderable = null;
}
this.childNodes.Clear();
this.childNodes = null;
}
// There are no unmanaged resources to release, but
// if we add them, they need to be released here.
}
base.dispose( disposeManagedResources );
}