mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
Bug 1104853 - Add a null check to an async IDB open operation, r=khuey.
This commit is contained in:
parent
3837d59146
commit
d4bff69580
@ -11920,7 +11920,8 @@ OpenDatabaseOp::SendResults()
|
||||
nsRefPtr<OpenDatabaseOp> kungFuDeathGrip;
|
||||
|
||||
DatabaseActorInfo* info;
|
||||
if (gLiveDatabaseHashtable->Get(mDatabaseId, &info) &&
|
||||
if (gLiveDatabaseHashtable &&
|
||||
gLiveDatabaseHashtable->Get(mDatabaseId, &info) &&
|
||||
info->mWaitingFactoryOp) {
|
||||
MOZ_ASSERT(info->mWaitingFactoryOp == this);
|
||||
kungFuDeathGrip =
|
||||
|
Loading…
Reference in New Issue
Block a user