Revert change to leak canary version, add todo for bug
This commit is contained in:
parent
c1083f6aab
commit
35855a1c02
@ -86,8 +86,8 @@ dependencies {
|
||||
compile(project(':libnetcipher'))
|
||||
|
||||
// memory leak analysis
|
||||
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.3.1'
|
||||
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.3.1'
|
||||
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.4-beta1'
|
||||
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta1'
|
||||
|
||||
provided 'javax.annotation:jsr250-api:1.0'
|
||||
|
||||
|
@ -762,6 +762,8 @@ public class LightningView {
|
||||
* the WebView cannot be recreated using the public
|
||||
* api.
|
||||
*/
|
||||
// TODO fix bug where WebView.destroy is being called before the tab
|
||||
// is removed
|
||||
public synchronized void onDestroy() {
|
||||
if (mWebView != null) {
|
||||
mWebView.stopLoading();
|
||||
|
Loading…
x
Reference in New Issue
Block a user