2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-13 07:10:28 +00:00

No issue - review: clarify thread safety of suppressionCount.

This commit is contained in:
Michael Comella 2020-11-02 10:17:04 -08:00 committed by Michael Comella
parent bff8a0d6a7
commit 2b621fcb1b

View File

@ -51,7 +51,7 @@ class StrictModeManager(
* - code owners: to prevent modifications to these above items without perf knowing
* to make suppressions a more deliberate act.
*
* This is an Atomic* so it can be incremented from any thread.
* This is an Atomic* so it can be safely incremented from any thread.
*/
@VisibleForTesting(otherwise = PRIVATE)
val suppressionCount = AtomicLong(0)