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

master
Fedor 2019-11-12 08:45:12 +03:00
parent e3e92c70f4
commit 3365704490
1 changed files with 3 additions and 0 deletions

View File

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