mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-28 10:07:30 +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
|
|
@ -1257,6 +1257,9 @@ IDBDatabase::LastRelease()
|
||||||
AssertIsOnOwningThread();
|
AssertIsOnOwningThread();
|
||||||
|
|
||||||
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();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue