mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-12 08:47:50 +01:00
catch off-thrown exception. This should prevent a crash, but the fix is probably to figure out why it's happening -- later.
This commit is contained in:
parent
23b72467bb
commit
e0c17c50b3
1 changed files with 6 additions and 3 deletions
|
@ -2045,14 +2045,17 @@ public class BoardActivity extends XWActivity
|
||||||
|
|
||||||
try {
|
try {
|
||||||
m_forResultWait.acquire();
|
m_forResultWait.acquire();
|
||||||
m_blockingDlgID = BLOCKING_DLG_NONE;
|
|
||||||
} catch ( java.lang.InterruptedException ie ) {
|
} catch ( java.lang.InterruptedException ie ) {
|
||||||
DbgUtils.loge( ie );
|
DbgUtils.loge( ie );
|
||||||
if ( BLOCKING_DLG_NONE != m_blockingDlgID ) {
|
if ( BLOCKING_DLG_NONE != m_blockingDlgID ) {
|
||||||
dismissDialog( m_blockingDlgID );
|
try {
|
||||||
m_blockingDlgID = BLOCKING_DLG_NONE;
|
dismissDialog( m_blockingDlgID );
|
||||||
|
} catch ( java.lang.IllegalArgumentException iae ) {
|
||||||
|
DbgUtils.loge( iae );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
m_blockingDlgID = BLOCKING_DLG_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
clearBlockingThread();
|
clearBlockingThread();
|
||||||
|
|
Loading…
Add table
Reference in a new issue