зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1558522 - Ensure that file actors created after the database was closed are expired. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D48046 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
4d9930a53d
Коммит
7e3b8fe633
|
@ -1081,6 +1081,8 @@ void IDBDatabase::LastRelease() {
|
|||
|
||||
CloseInternal();
|
||||
|
||||
ExpireFileActors(/* aExpireAll */ true);
|
||||
|
||||
if (mBackgroundActor) {
|
||||
mBackgroundActor->SendDeleteMeInternal();
|
||||
MOZ_ASSERT(!mBackgroundActor, "SendDeleteMeInternal should have cleared!");
|
||||
|
|
Загрузка…
Ссылка в новой задаче