mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-09 05:24:44 +01:00
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:
parent
4db2fd229b
commit
d6710622ad
1 changed files with 5 additions and 1 deletions
|
@ -95,7 +95,11 @@ getMPoolImpl( JNIGlobalState* globalState, const char* user )
|
||||||
static void
|
static void
|
||||||
releaseMPool( JNIGlobalState* globalState )
|
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;
|
globalState->mpoolInUse = XP_FALSE;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue