root-xptimanager
author Benjamin Smedberg <benjamin@smedbergs.us>
Sat, 26 Jul 2008 22:49:39 -0400
changeset 167 a4da40849f5436e629c5732f4368c6c48189637f
parent 82 ba505859ba00a5a9298ad653bb5e124cb263c5f4
permissions -rw-r--r--
State as of now

diff --git a/xpcom/reflect/xptinfo/src/xptiInterfaceInfoManager.cpp b/xpcom/reflect/xptinfo/src/xptiInterfaceInfoManager.cpp
--- a/xpcom/reflect/xptinfo/src/xptiInterfaceInfoManager.cpp
+++ b/xpcom/reflect/xptinfo/src/xptiInterfaceInfoManager.cpp
@@ -97,6 +97,8 @@ xptiInterfaceInfoManager::GetInterfaceIn
 #endif // DEBUG
             if(mustAutoReg)
                 gInterfaceInfoManager->AutoRegisterInterfaces();
+
+            NS_RootUntilShutdown(gInterfaceInfoManager);
         }
     }
     return gInterfaceInfoManager;