hotchemi / Android-Rate

Android-Rate is a library to help you promote your android app by prompting users to rate the app after using it for a few days.
http://hotchemi.github.io/Android-Rate
MIT License
724 stars 216 forks source link

Add method to destroy the singleton and release the Context #94

Closed Gazer closed 8 years ago

Gazer commented 8 years ago

Calling AppRate.destroy() ensures that the context has no references and can be freed if needed.

Also add LeakCanary on the sample application to ensure that the memory leak was fixed.

hotchemi commented 8 years ago

Thx.