diff options
author | Simon Giesecke <sgiesecke@mozilla.com> | 2019-10-23 12:19:15 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-10-23 13:25:21 +0200 |
commit | a5611d825dfb253230af232b4ff2fe0783257dc2 (patch) | |
tree | 9f6718c7b27729017d1b3f4298b0f0874ca0263c /dom/indexedDB/IDBDatabase.cpp | |
parent | 51b068dc653051baf3cf22feddd832f9f95ce12a (diff) | |
download | UXP-a5611d825dfb253230af232b4ff2fe0783257dc2.tar UXP-a5611d825dfb253230af232b4ff2fe0783257dc2.tar.gz UXP-a5611d825dfb253230af232b4ff2fe0783257dc2.tar.lz UXP-a5611d825dfb253230af232b4ff2fe0783257dc2.tar.xz UXP-a5611d825dfb253230af232b4ff2fe0783257dc2.zip |
Ensure that file actors created after the database was closed are expired.
Diffstat (limited to 'dom/indexedDB/IDBDatabase.cpp')
-rw-r--r-- | dom/indexedDB/IDBDatabase.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dom/indexedDB/IDBDatabase.cpp b/dom/indexedDB/IDBDatabase.cpp index 5592e7f93..6ef352801 100644 --- a/dom/indexedDB/IDBDatabase.cpp +++ b/dom/indexedDB/IDBDatabase.cpp @@ -1257,6 +1257,9 @@ IDBDatabase::LastRelease() AssertIsOnOwningThread(); CloseInternal(); + + // Make sure that file actors created after the database was closed are expired. + ExpireFileActors(/* aExpireAll */ true); if (mBackgroundActor) { mBackgroundActor->SendDeleteMeInternal(); |