Stop(); if (nsnull != mParent) { mParent->RemoveChildGroup(this); NS_RELEASE(mParent); }
nsDocLoaderImpl::~nsDocLoaderImpl(){  Stop();  if (nsnull != mParent) {    mParent->RemoveChildGroup(this);    NS_RELEASE(mParent);  }  NS_IF_RELEASE(m_LoadingDocsList);  NS_IF_RELEASE(m_DocFactory);  NS_IF_RELEASE(m_LoadAttrib);  NS_IF_RELEASE(mStreamObserver);  NS_IF_RELEASE(mContainer);  NS_IF_RELEASE(mDocumentUrl);  PR_LOG(gDocLoaderLog, PR_LOG_DEBUG,          ("DocLoader - DocLoader [%p] deleted.\n", this));  NS_PRECONDITION((0 == mChildGroupList.Count()), "Document loader has children...");}