- Fix build

svn path=/trunk/; revision=68211
This commit is contained in:
Thomas Faber 2015-06-20 17:04:27 +00:00
parent cc47f60138
commit 1fd75ca0e4

View file

@ -70,12 +70,16 @@ public:
static void Term()
{
ULONG ref;
#ifdef ASSERT
ASSERT(!s_IsTerminated);
#endif
s_IsTerminated = true;
if (s_pInstance)
{
ref = s_pInstance->Release();
#ifdef ASSERT
ASSERT(ref == 0);
#endif
s_pInstance = NULL;
}
}