diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardDelegate.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardDelegate.java index bcb83380a..88001d865 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardDelegate.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardDelegate.java @@ -627,7 +627,7 @@ public class BoardDelegate extends DelegateBase m_handler = null; ConnStatusHandler.setHandler( null ); waitCloseGame( true ); - pauseGame(); + pauseGame(); // sets m_jniThread to null super.onPause(); } @@ -2896,7 +2896,8 @@ public class BoardDelegate extends DelegateBase private void handleViaThread( JNICmd cmd, Object... args ) { if ( null == m_jniThread ) { - Log.w( TAG, "not calling handle(%s)", cmd.toString() ); + Log.w( TAG, "m_jniThread null: not calling m_jniThread.handle(%s)", + cmd.toString() ); DbgUtils.printStack( TAG ); } else { m_jniThread.handle( cmd, args ); diff --git a/xwords4/common/comms.c b/xwords4/common/comms.c index 8881f7783..99012e0d6 100644 --- a/xwords4/common/comms.c +++ b/xwords4/common/comms.c @@ -676,7 +676,6 @@ comms_makeFromStream( MPFORMAL XWStreamCtxt* stream, XW_UtilCtxt* util, } else { comms->channelSeed = stream_getU16( stream ); CNO_FMT( cbuf, comms->channelSeed ); - XP_LOGF( "%s: loaded seed: %s(%d)", __func__, cbuf, comms->channelSeed ); } if ( STREAM_VERS_COMMSBACKOFF <= version ) { comms->resendBackoff = stream_getU16( stream ); @@ -892,7 +891,6 @@ comms_writeToStream( CommsCtxt* comms, XWStreamCtxt* stream, stream_putU16( stream, comms->nextChannelNo ); XP_U16 channelSeed = comms_getChannelSeed( comms ); /* force creation */ stream_putU16( stream, channelSeed ); - XP_LOGF( "%s: stored seed: %x(%d)", __func__, channelSeed, channelSeed ); stream_putU16( stream, comms->resendBackoff ); stream_putU32( stream, comms->nextResend ); if ( addr_hasType( &comms->addr, COMMS_CONN_RELAY ) ) { diff --git a/xwords4/common/server.c b/xwords4/common/server.c index d898a0f1f..047e87112 100644 --- a/xwords4/common/server.c +++ b/xwords4/common/server.c @@ -325,7 +325,7 @@ getNV( XWStreamCtxt* stream, ServerNonvolatiles* nv, XP_U16 nPlayers ) if ( STREAM_SAVE_PREVWORDS < version ) { nv->streamVersion = stream_getU8 ( stream ); } - XP_LOGF( "%s: read streamVersion: 0x%x", __func__, nv->streamVersion ); + /* XP_LOGF( "%s: read streamVersion: 0x%x", __func__, nv->streamVersion ); */ #endif } /* getNV */ @@ -356,7 +356,7 @@ putNV( XWStreamCtxt* stream, const ServerNonvolatiles* nv, XP_U16 nPlayers ) } #ifdef STREAM_VERS_BIGBOARD stream_putU8( stream, nv->streamVersion ); - XP_LOGF( "%s: wrote streamVersion: 0x%x", __func__, nv->streamVersion ); + /* XP_LOGF( "%s: wrote streamVersion: 0x%x", __func__, nv->streamVersion ); */ #endif } /* putNV */