This commit is contained in:
kipp%netscape.com 1999-09-25 20:11:33 +00:00
Родитель 814bf9c9a0
Коммит f5128d40c0
1 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -436,10 +436,11 @@ nsresult NS_COM NS_ShutdownXPCOM(nsIServiceManager* servMgr)
{
nsrefcnt cnt;
// We may have AddRef'd for the caller of NS_InitXPCOM, so release it
// here again:
// We may have AddRef'd for the caller of NS_InitXPCOM, so release it
// here again:
NS_IF_RELEASE(servMgr);
NS_RELEASE2(nsServiceManager::mGlobalServiceManager, cnt);
NS_RELEASE2(nsServiceManager::mGlobalServiceManager, cnt);
NS_ASSERTION(cnt == 0, "Service Manager being held past XPCOM shutdown.");
// Finally, release the component manager last because it unloads the
@ -453,4 +454,4 @@ nsresult NS_COM NS_ShutdownXPCOM(nsIServiceManager* servMgr)
return NS_OK;
}
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////