We can move the setting of the flag in `QuotaManager::Shutdown` (and also moving the diagnostic assertion for that) to the static function `ShutdownInstance`. The method which calls QuotaManager:ShutdownInstance is RecvShutdownQuotaManager and that one checks if gShutdown is already set.
Bug 1817416 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
We can move the setting of the flag in `QuotaManager::Shutdown` (and also moving the diagnostic assertion for that) to the static function `ShutdownInstance`. The method which calls `QuotaManager:ShutdownInstance` is `RecvShutdownQuotaManager` and that one checks if `gShutdown` is already set.