forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1722466 - Add an RAII helper class QuotaDatabaseAutoAttacher to e…
…nsure database will be detached automatically in scope exit if any error happens before explicitly detach; r=dom-storage-reviewers,janv This patch add an RAII helper class QuotaDatabaseAutoAttacher, which provides an Attach() and Detach() method, and guarantees that the database will be detached in it's destructor when an instance of this class is out of scope. Differential Revision: https://phabricator.services.mozilla.com/D128042
- Loading branch information
Haiyang Xu
committed
Nov 5, 2021
1 parent
d78bdfe
commit 35ca020
Showing
4 changed files
with
251 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.