internal void InternalCloseWindow()
{
this.Save();
if (this.m_RootView != null)
{
if (this.m_RootView is GUIView)
{
((GUIView) this.m_RootView).RemoveFromAuxWindowList();
}
Object.DestroyImmediate(this.m_RootView, true);
this.m_RootView = null;
}
Object.DestroyImmediate(this, true);
}