Call ShutDown automatically on destruction.

This commit is contained in:
mcmullen%netscape.com 1999-04-21 22:17:28 +00:00
parent 20410053f1
commit 75a8504750

View File

@ -250,6 +250,7 @@ nsPref::nsPref()
nsPref::~nsPref()
//----------------------------------------------------------------------------------------
{
ShutDown();
PR_AtomicDecrement(&g_InstanceCount);
gInstance = NULL;
}