From 1fd75ca0e448b91e0cbabce2667035dd25914eb6 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sat, 20 Jun 2015 17:04:27 +0000 Subject: [PATCH] [GRML] - Fix build svn path=/trunk/; revision=68211 --- reactos/include/reactos/shellutils.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reactos/include/reactos/shellutils.h b/reactos/include/reactos/shellutils.h index ada3152825b..56ad7fcf30b 100644 --- a/reactos/include/reactos/shellutils.h +++ b/reactos/include/reactos/shellutils.h @@ -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; } }