mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-18 06:45:33 +00:00
Bug 643674 - firefox 4 crash [@ nsCookieService::HandleCorruptDB(DBState*) ] and t [@ nsCookieService::HandleCorruptDB ]; r=sdwilsh
This commit is contained in:
parent
d5dcbf68a6
commit
795cbd583e
@ -1257,7 +1257,9 @@ nsCookieService::HandleCorruptDB(DBState* aDBState)
|
||||
case DBState::REBUILDING: {
|
||||
// We had an error while rebuilding the DB. Game over. Close the database
|
||||
// and let the close handler do nothing; then we'll move it out of the way.
|
||||
mDefaultDBState->dbConn->AsyncClose(mDefaultDBState->closeListener);
|
||||
if (mDefaultDBState->dbConn) {
|
||||
mDefaultDBState->dbConn->AsyncClose(mDefaultDBState->closeListener);
|
||||
}
|
||||
CloseDefaultDBConnection();
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user