save when exiting to prevent data loss opening chat window.

This commit is contained in:
Eric House 2016-04-06 21:41:48 -07:00
parent a55e17cd41
commit 049c25f16d

View file

@ -2383,7 +2383,7 @@ public class BoardDelegate extends DelegateBase
} }
m_dlgBytes = txt; m_dlgBytes = txt;
post( new Runnable() { runOnUiThread( new Runnable() {
public void run() { public void run() {
showDialog( dlgID ); showDialog( dlgID );
} }
@ -2420,6 +2420,7 @@ public class BoardDelegate extends DelegateBase
ConnStatusHandler.setHandler( null ); ConnStatusHandler.setHandler( null );
waitCloseGame( true ); waitCloseGame( true );
} else { } else {
handleViaThread( JNICmd.CMD_SAVE );
// DbgUtils.logf( "closeIfFinishing(): not finishing (yet)" ); // DbgUtils.logf( "closeIfFinishing(): not finishing (yet)" );
} }
} }