mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Call ShutDown automatically on destruction.
This commit is contained in:
parent
20410053f1
commit
75a8504750
@ -250,6 +250,7 @@ nsPref::nsPref()
|
||||
nsPref::~nsPref()
|
||||
//----------------------------------------------------------------------------------------
|
||||
{
|
||||
ShutDown();
|
||||
PR_AtomicDecrement(&g_InstanceCount);
|
||||
gInstance = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user