mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 973780 - Don't double-unregister during IDB teardown. r=khuey
This commit is contained in:
parent
71122e3004
commit
47da093a84
@ -394,7 +394,7 @@ IDBDatabase::OnUnlink()
|
||||
|
||||
// No reason for the QuotaManager to track us any longer.
|
||||
QuotaManager* quotaManager = QuotaManager::Get();
|
||||
if (quotaManager) {
|
||||
if (mRegistered && quotaManager) {
|
||||
quotaManager->UnregisterStorage(this);
|
||||
|
||||
// Don't try to unregister again in the destructor.
|
||||
|
Loading…
Reference in New Issue
Block a user