Avoid assertion failures on abnormal exit() (e.g. dumpSchema mode)

This was SVN commit r10530.
This commit is contained in:
Ykkrosh 2011-11-13 21:37:12 +00:00
parent fbff0aa98d
commit ade841efdd

View File

@ -41,7 +41,8 @@ CProfiler2::CProfiler2() :
CProfiler2::~CProfiler2()
{
ENSURE(!m_Initialised); // should have called Shutdown() explicitly
if (m_Initialised)
Shutdown();
}
/**