mirror of
https://github.com/reactos/reactos.git
synced 2024-09-29 14:09:10 +00:00
[GRML]
- Fix build svn path=/trunk/; revision=68211
This commit is contained in:
parent
cc47f60138
commit
1fd75ca0e4
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue