Merge "Revert "log stack trace when finish() or onDestroy() is called""
This commit is contained in:
@@ -286,23 +286,11 @@ public class TestShellActivity extends Activity implements LayoutTestController
|
|||||||
mWebView.stopLoading();
|
mWebView.stopLoading();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//TODO: remove. this is temporary for bug investigation
|
|
||||||
@Override
|
|
||||||
public void finish() {
|
|
||||||
Exception e = new Exception("finish() call stack");
|
|
||||||
Log.d(LOGTAG, "finish stack trace", e);
|
|
||||||
super.finish();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onDestroy() {
|
protected void onDestroy() {
|
||||||
//TODO: remove exception log. this is temporary for bug investigation
|
super.onDestroy();
|
||||||
Exception e = new Exception("onDestroy stack trace");
|
|
||||||
Log.d(LOGTAG, "onDestroy stack trace", e);
|
|
||||||
mWebView.destroy();
|
mWebView.destroy();
|
||||||
mWebView = null;
|
mWebView = null;
|
||||||
super.onDestroy();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user