Bug 422826: crashes [@ nsVoidArray::Count] called from nsXPInstallManager::DownloadNext. r=dveditz
authordtownsend@oxymoronical.com
Tue, 08 Apr 2008 04:49:01 -0700
changeset 14039 077f70ec9144c1651cf71a8b4ce85ff8b7bea69c
parent 14038 99de43696027e694cd89f9d63e4d062324cc6bb7
child 14040 20344020785dbbe2dc09a54fd15d18e3af5293d4
push idunknown
push userunknown
push dateunknown
reviewersdveditz
bugs422826
milestone1.9pre
Bug 422826: crashes [@ nsVoidArray::Count] called from nsXPInstallManager::DownloadNext. r=dveditz
xpinstall/src/nsXPInstallManager.cpp
--- a/xpinstall/src/nsXPInstallManager.cpp
+++ b/xpinstall/src/nsXPInstallManager.cpp
@@ -952,17 +952,16 @@ PRBool nsXPInstallManager::VerifyHash(ns
 
 void nsXPInstallManager::Shutdown(PRInt32 status)
 {
     if (mDlg)
     {
         // tell the dialog it can go away
         mDlg->OnStateChange(0, nsIXPIProgressDialog::DIALOG_CLOSE, 0 );
         mDlg = nsnull;
-        mDialogOpen = PR_FALSE;
     }
 
     if (mNeedsShutdown)
     {
         mNeedsShutdown = PR_FALSE;
 
         // Send remaining status notifications if we were cancelled early
         nsXPITriggerItem* item;