mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
test, don't assert: comms can be null
This commit is contained in:
parent
670f7982ea
commit
4ae58342da
1 changed files with 1 additions and 2 deletions
|
@ -1191,8 +1191,7 @@ Java_org_eehouse_android_xw4_jni_XwJNI_comms_1isConnected
|
|||
{
|
||||
jboolean result;
|
||||
XWJNI_START();
|
||||
XP_ASSERT( !!state->game.comms );
|
||||
result = comms_isConnected( state->game.comms );
|
||||
result = NULL != state->game.comms && comms_isConnected( state->game.comms );
|
||||
XWJNI_END();
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue