Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8564506 authored by Mike LeBeau's avatar Mike LeBeau
Browse files

Reintroduce Amith's memory leak fix from 388ce92a,

after it was clobbered by my overwrite of LatinIME with the voice version.
parent 466741d8
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -331,6 +331,7 @@ public class LatinIME extends InputMethodService
            mSuggest.close();
            mSuggest.close();
        }
        }
        mSuggest = new Suggest(this, R.raw.main);
        mSuggest = new Suggest(this, R.raw.main);
        if (mUserDictionary != null) mUserDictionary.close();
        mUserDictionary = new UserDictionary(this);
        mUserDictionary = new UserDictionary(this);
        if (mContactsDictionary == null) {
        if (mContactsDictionary == null) {
            mContactsDictionary = new ContactsDictionary(this);
            mContactsDictionary = new ContactsDictionary(this);