start comms after giving CommsTransport a handler for any network

activity.  This might fix a very rare race condition.
This commit is contained in:
eehouse 2010-03-28 16:09:46 +00:00
parent 9b955ae770
commit ec96b0dd0d

View file

@ -286,10 +286,10 @@ public class BoardActivity extends Activity implements UtilCtxt {
m_jniThread.start();
m_view.startHandling( m_jniThread, m_jniGamePtr, m_gi );
m_jniThread.handle( JNICmd.CMD_START );
if ( null != m_xport ) {
m_xport.setReceiver( m_jniThread );
}
m_jniThread.handle( JNICmd.CMD_START );
}
} // onCreate