replace oft-firing assertion with logging

It's crashing all the time and involves a system that only exists in
debug builds. So I should understand the root cause, but other stuff
needs to get done first.
This commit is contained in:
Eric House 2019-04-05 13:30:23 -07:00
parent 4db2fd229b
commit d6710622ad

View file

@ -95,7 +95,11 @@ getMPoolImpl( JNIGlobalState* globalState, const char* user )
static void
releaseMPool( JNIGlobalState* globalState )
{
XP_ASSERT( globalState->mpoolInUse );
// XP_ASSERT( globalState->mpoolInUse ); /* fired again!!! */
if ( !globalState->mpoolInUse ) {
XP_LOGF( "%s() line %d; ERROR ERROR ERROR mpoolInUse not set",
__func__, __LINE__ );
}
globalState->mpoolInUse = XP_FALSE;
}
#else