appcelerator/titanium_mobile — pull request #2720 by joshthecoder (2012-08-13 18:08:18+00:00)
Title: [TIMOB-10091] Android: Window URL contexts never freed after window has closed.

Fixes a memory leak seen when opening a window with an URL.
This would create a new JS context which would never get released once
the window has been closed.

I have added a method in the Script module to dispose of contexts.
This is now called once the window has been closed or the activity destroyed.

See JIRA ticket for a test case and instructions.