if (mStreamIO) { mStreamIO->CloseInputStream(this); NS_ASSERTION(!mStreamIO, "mStreamIO hasn't been nulled out");
if (mClosed)  return NS_ERROR_NOT_AVAILABLE; if (mFD) { (void) PR_Close(mFD); mFD = nsnull;
nsDiskCacheInputStream::Close(){    if (mStreamIO) {        mStreamIO->CloseInputStream(this);        NS_ASSERTION(!mStreamIO, "mStreamIO hasn't been nulled out");    }    return NS_OK;}