commit | 9b64367193ffb252f869fb9f65a60b51a654119e | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Wed Mar 22 13:25:24 2017 +0000 |
committer | Narayan Kamath <narayan@google.com> | Wed Apr 26 14:36:26 2017 +0000 |
tree | cd3e9e206f3cfe955b764de18d4164ffabc088dd | |
parent | 058a73e7307a5c991d0a683f16725c550b3f0c1b [diff] |
SpellCheckerSession: Fix brittle finalizer pattern. Always call super.finalize, also make sure super-class finalizers are called last (i.e in reverse order of construction). While we're here, we can switch to dalvik.system.CloseGuard to warn if the object hasn't been properly closed. Test: make Bug: 35609098 Change-Id: I4e00c3a2cec93d1dacff20546e481fe757279661