mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 17:16:12 +00:00
736c7b1407
This patch adds an assertion that makes sure that the nsCategoryManager is destroyed after the nsMemoryReporterManager, because bad things would happen otherwise. Also, nsCategoryManager uses manual memory management (it's AddRef/Release are hardwired to always return 2 and 1 respectively) so it doesn't matter if we register it as a strong or weak memory reporter. But it's more common to use RegisterWeakMemoryReporter when the argument is |this|, so this patch does that. --HG-- extra : rebase_source : 4ca33404d4c6f2b271e1ad008ea1a9a79f3ef666 |
||
---|---|---|
.. | ||
ManifestParser.cpp | ||
ManifestParser.h | ||
Module.h | ||
ModuleLoader.h | ||
ModuleUtils.h | ||
moz.build | ||
nsCategoryManager.cpp | ||
nsCategoryManager.h | ||
nsCategoryManagerUtils.h | ||
nsComponentManager.cpp | ||
nsComponentManager.h | ||
nsICategoryManager.idl | ||
nsIClassInfo.idl | ||
nsIComponentManager.idl | ||
nsIComponentRegistrar.idl | ||
nsIFactory.idl | ||
nsIModule.idl | ||
nsIServiceManager.idl | ||
nsNativeModuleLoader.cpp | ||
nsNativeModuleLoader.h |