mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-29 10:37:33 +09:00
Ensure that file actors created after the database was closed are expired.
This commit is contained in:
parent
21f7feb805
commit
8b52506007
1 changed files with 3 additions and 0 deletions
|
|
@ -1258,6 +1258,9 @@ IDBDatabase::LastRelease()
|
||||||
|
|
||||||
CloseInternal();
|
CloseInternal();
|
||||||
|
|
||||||
|
// Make sure that file actors created after the database was closed are expired.
|
||||||
|
ExpireFileActors(/* aExpireAll */ true);
|
||||||
|
|
||||||
if (mBackgroundActor) {
|
if (mBackgroundActor) {
|
||||||
mBackgroundActor->SendDeleteMeInternal();
|
mBackgroundActor->SendDeleteMeInternal();
|
||||||
MOZ_ASSERT(!mBackgroundActor, "SendDeleteMeInternal should have cleared!");
|
MOZ_ASSERT(!mBackgroundActor, "SendDeleteMeInternal should have cleared!");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue