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

This commit is contained in:
Simon Giesecke 2019-10-23 12:19:15 +02:00 committed by Roy Tam
commit 8b52506007

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