[IL30] Minor refactoring

Change-Id: I8a8aa9f703c6fca5e25ec573b41f325680ac92dc
main
Jean Chalard 2013-12-20 20:29:34 +09:00
parent 0547b33130
commit 059f4c2f39
1 changed files with 3 additions and 3 deletions

View File

@ -581,6 +581,9 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
suggest.close();
mInputLogic.mSuggest = null;
}
if (mInputUpdater != null) {
mInputUpdater.quitLooper();
}
mSettings.onDestroy();
unregisterReceiver(mReceiver);
if (ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS) {
@ -590,9 +593,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
PersonalizationDictionarySessionRegister.onDestroy(this);
LatinImeLogger.commit();
LatinImeLogger.onDestroy();
if (mInputUpdater != null) {
mInputUpdater.quitLooper();
}
super.onDestroy();
}