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 0a28025a76
commit d81584a36d

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;