mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 775206. r=bent
This commit is contained in:
parent
ec32390333
commit
691ade3847
@ -278,6 +278,8 @@ IDBDatabase::CloseInternal(bool aIsDead)
|
||||
NS_ASSERTION(NS_IsMainThread(), "Wrong thread!");
|
||||
|
||||
if (!mClosed) {
|
||||
mClosed = true;
|
||||
|
||||
// If we're getting called from Unlink, avoid cloning the DatabaseInfo.
|
||||
{
|
||||
nsRefPtr<DatabaseInfo> previousInfo;
|
||||
@ -300,8 +302,6 @@ IDBDatabase::CloseInternal(bool aIsDead)
|
||||
NS_ASSERTION(!IndexedDatabaseManager::IsMainProcess(), "Wrong process!");
|
||||
mActorChild->SendClose(aIsDead);
|
||||
}
|
||||
|
||||
mClosed = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user