Bug 821534 - move mozilla::PoisonWrite one line earlier. r=ehsan.

This commit is contained in:
Rafael Ávila de Espíndola 2012-12-17 10:13:36 -05:00
parent faf60e4f57
commit 7752553314

View File

@ -616,11 +616,11 @@ ShutdownXPCOM(nsIServiceManager* servMgr)
// Release the directory service
NS_IF_RELEASE(nsDirectoryService::gService);
nsCycleCollector_shutdown();
SAMPLE_MARKER("Shutdown xpcom");
mozilla::PoisonWrite();
nsCycleCollector_shutdown();
if (moduleLoaders) {
bool more;
nsCOMPtr<nsISupports> el;