phonegap/phonegap-plugins — Issue #278: Stop loading when childBrowser closed (Android)
Author: kwellman
Created: 2011-12-11 04:55:24+00:00
State: open

If the child browser is closed while a page is still loading, the loading doesn't seem to stop and takes up a lot of cpu. This is very noticeable on my Samsung Galaxy Ace, where the ui gets very sluggish for usually several seconds.

Calling this.webview.stopLoading() from the ChildBrowser instance when it is closed fixes this issue.