зеркало из https://github.com/mozilla/gecko-dev.git
Bug 775206. r=bent
This commit is contained in:
Родитель
d28df5aea5
Коммит
c8132f66bd
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче