if (--gRefCnt == 0) { NS_IF_RELEASE(kNC_Child); NS_IF_RELEASE(kNC_loading);
nsHTTPIndex::~nsHTTPIndex(){  // note: these are NOT statics due to the native of nsHTTPIndex  // where it may or may not be treated as a singleton    if (mTimer)    {        // be sure to cancel the timer, as it holds a        // weak reference back to nsHTTPIndex        mTimer->Cancel();        mTimer = nsnull;    }    mConnectionList = nsnull;    mNodeList = nsnull;        if (mDirRDF)      {        // UnregisterDataSource() may fail; just ignore errors        mDirRDF->UnregisterDataSource(this);      }}