@@ -36,7 +36,9 @@ MutexDummyImpl() {
////////////////////////////////////////////////////////////////////
INLINE MutexDummyImpl::
~MutexDummyImpl() {
+#ifdef CHECK_REENTRANT_MUTEX
nassertv(_lock_count == 0);
+#endif
}