-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Make SharedAsset constructor and destructor protected, so instances of this type can't be created directly. * Maintain `_sizeInDepot` field on `SharedAsset` to defend against the asset size changing between when we add its size and when we remove its size. * Add some doc comments. * Change the staleAssetSizeLimit to 16 MiB. * Add some defensive assertions. * Fix use-after-free when removing deletion candidates.
- Loading branch information
Showing
2 changed files
with
52 additions
and
27 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
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