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

Unified Diff: mojo/public/cpp/environment/lib/environment.cc

Issue 1996703002: Make mojo::RunLoop just use pthreads. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | mojo/public/cpp/utility/BUILD.gn » ('j') | mojo/public/cpp/utility/lib/run_loop.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/environment/lib/environment.cc
diff --git a/mojo/public/cpp/environment/lib/environment.cc b/mojo/public/cpp/environment/lib/environment.cc
index 8224f1df40111fa5da96c332068f255e5d1fc08a..822497030bc6fa64166b65761ef89a3f883a3167 100644
--- a/mojo/public/cpp/environment/lib/environment.cc
+++ b/mojo/public/cpp/environment/lib/environment.cc
@@ -25,8 +25,6 @@ void Init(const MojoAsyncWaiter* default_async_waiter,
: &internal::kDefaultAsyncWaiter;
g_default_logger =
default_logger ? default_logger : &internal::kDefaultLogger;
-
- RunLoop::SetUp();
}
} // namespace
@@ -41,8 +39,6 @@ Environment::Environment(const MojoAsyncWaiter* default_async_waiter,
}
Environment::~Environment() {
- RunLoop::TearDown();
-
// TODO(vtl): Maybe we should allow nesting, and restore previous default
// async waiters and loggers?
g_default_async_waiter = nullptr;
« no previous file with comments | « no previous file | mojo/public/cpp/utility/BUILD.gn » ('j') | mojo/public/cpp/utility/lib/run_loop.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698