Browse Source

Ensure that file actors created after the database was closed are expired.

pull/24/head
Simon Giesecke 3 years ago committed by Roy Tam
parent
commit
8b52506007
  1. 3
      dom/indexedDB/IDBDatabase.cpp

3
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();

Loading…
Cancel
Save