summaryrefslogtreecommitdiff
path: root/xpcom/build/XPCOMInit.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-04-29 07:20:46 +0000
committerMoonchild <moonchild@palemoon.org>2022-04-29 07:20:46 +0000
commitbc2841f9f916b2a6aade0cd6dae4a2e4407352b6 (patch)
treee8314f3d55f136a6db6bb9e2a035ae68a04dc3e9 /xpcom/build/XPCOMInit.cpp
parent33523f5d5ed0c3b8000aae21a50a56c238422db3 (diff)
parentd78e03d528ba9e7395160a23bce23726067600dd (diff)
downloaduxp-bc2841f9f916b2a6aade0cd6dae4a2e4407352b6.tar.gz
Merge pull request 'Restore Mac OS X code and buildability' (#1886) from dbsoft/UXP:1829 into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1886
Diffstat (limited to 'xpcom/build/XPCOMInit.cpp')
-rw-r--r--xpcom/build/XPCOMInit.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/xpcom/build/XPCOMInit.cpp b/xpcom/build/XPCOMInit.cpp
index 3291c06c07..185a823155 100644
--- a/xpcom/build/XPCOMInit.cpp
+++ b/xpcom/build/XPCOMInit.cpp
@@ -1007,6 +1007,9 @@ ShutdownXPCOM(nsIServiceManager* aServMgr)
PROFILER_MARKER("Shutdown xpcom");
// If we are doing any shutdown checks, poison writes.
if (gShutdownChecks != SCM_NOTHING) {
+#ifdef XP_MACOSX
+ mozilla::OnlyReportDirtyWrites();
+#endif /* XP_MACOSX */
mozilla::BeginLateWriteChecks();
}