Closed Bug 1407939 Opened 2 years ago Closed 2 years ago

Make sure that file size of the database and the wal file is processed after the database is closed when getting usage.

Categories

(Core :: DOM: Service Workers, enhancement)

enhancement
Not set

Tracking

()

RESOLVED INVALID

People

(Reporter: tt, Assigned: tt)

References

Details

Per bug 1389561 comment #57, we should close the connection for restoring padding file explicitly to ensure the size of database won't change while getting its usage.
I found cache will close the connection while the connect object is destroying [1]. Sorry for disturbance :(

[1] http://searchfox.org/mozilla-central/rev/31606bbabc50b08895d843b9f5f3da938ccdfbbf/dom/cache/Connection.cpp#31
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.