Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Unified Diff: content/public/android/java/src/org/chromium/content/app/ContentApplication.java

Issue 386983002: Correct the usage of finalize in TracingControllerAndroid class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated as per comments Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « AUTHORS ('k') | content/public/android/java/src/org/chromium/content/browser/TracingControllerAndroid.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/java/src/org/chromium/content/app/ContentApplication.java
diff --git a/content/public/android/java/src/org/chromium/content/app/ContentApplication.java b/content/public/android/java/src/org/chromium/content/app/ContentApplication.java
index 7b6f50ee97475f12b5c4cae21af9a14f3f5ae0ff..b1242246686d1fac05d90103bbc00b8004b7e8a9 100644
--- a/content/public/android/java/src/org/chromium/content/app/ContentApplication.java
+++ b/content/public/android/java/src/org/chromium/content/app/ContentApplication.java
@@ -56,6 +56,7 @@ public class ContentApplication extends BaseChromiumApplication {
public void onTerminate() {
try {
getTracingController().unregisterReceiver(this);
+ getTracingController().destroy();
} catch (SecurityException e) {
// Happens if the process is isolated. Ignore.
}
« no previous file with comments | « AUTHORS ('k') | content/public/android/java/src/org/chromium/content/browser/TracingControllerAndroid.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698