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

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: also service_manager_unittests 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 | « mojo/service_manager/service_manager.cc ('k') | mojo/shell/context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/context.h
diff --git a/mojo/shell/context.h b/mojo/shell/context.h
index f8970a54cf113dc1b1c015368c9490f58931d8ff..83ebf6385a07367d786108e9ba44a29e0afb2401 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_; }
« no previous file with comments | « mojo/service_manager/service_manager.cc ('k') | mojo/shell/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698