commit | 89af189b563a511275f9c65ab9a85b06c66e88b5 | [log] [tgz] |
---|---|---|
author | Paul Westbrook <pwestbro@google.com> | Wed Oct 05 18:15:00 2011 -0700 |
committer | Paul Westbrook <pwestbro@google.com> | Thu Oct 06 11:54:54 2011 -0700 |
tree | 042707fbd2ddc73bae555a5f83fd5438e97be2b6 | |
parent | 9fb45ac4a8796afb05915fb152e74d02506f59c6 [diff] |
Fix memory leak Event handlers need to be deregistered from the Contoller, especiall when the event handler is an Activity instance. With out doing this, the controller will keep a ref to the activity. This will prevent the Activity from being finalized Bug: 5409478 Change-Id: If3f935c29122fd1b1cf5ef301598fb1ecd73717f