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

Unified Diff: mojo/shell/context.h

Issue 397733003: mojo: kill app_thread before unloading main app library and add tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: less hack 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
Index: mojo/shell/context.h
diff --git a/mojo/shell/context.h b/mojo/shell/context.h
index 2173377bec78e9ec574c3bbeb05653ec02724297..03577ef288ac38a0ec246c39238dbadc1f3e648f 100644
--- a/mojo/shell/context.h
+++ b/mojo/shell/context.h
@@ -30,6 +30,10 @@ class Context {
Context();
~Context();
+ // Tear down context in safe order prior to deleting. Shutdown() is also
+ // called by the destructor.
+ void Shutdown();
+
TaskRunners* task_runners() { return &task_runners_; }
ServiceManager* service_manager() { return &service_manager_; }
KeepAliveCounter* keep_alive_counter() { return &keep_alive_counter_; }

Powered by Google App Engine
This is Rietveld 408576698