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

Unified Diff: sky/shell/android/org/domokit/sky/shell/SkyApplication.java

Issue 1228083003: Stop leaking temp directories in SkyShell (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 | « sky/shell/android/org/domokit/sky/shell/ResourceCleaner.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/shell/android/org/domokit/sky/shell/SkyApplication.java
diff --git a/sky/shell/android/org/domokit/sky/shell/SkyApplication.java b/sky/shell/android/org/domokit/sky/shell/SkyApplication.java
index eabb6608a4abe246de933371083aeac9ef9ce70c..8823440ffdee8e2c59c21d169d50becf6229b10f 100644
--- a/sky/shell/android/org/domokit/sky/shell/SkyApplication.java
+++ b/sky/shell/android/org/domokit/sky/shell/SkyApplication.java
@@ -68,7 +68,9 @@ public class SkyApplication extends BaseChromiumApplication {
}
private void initResources() {
- mResourceExtractor = new ResourceExtractor(getApplicationContext());
+ Context context = getApplicationContext();
+ new ResourceCleaner(context).start();
+ mResourceExtractor = new ResourceExtractor(context);
onBeforeResourceExtraction(mResourceExtractor);
mResourceExtractor.start();
}
« no previous file with comments | « sky/shell/android/org/domokit/sky/shell/ResourceCleaner.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698