Skip to content
Snippets Groups Projects
Commit 4556d89c authored by William Escande's avatar William Escande Committed by Gerrit Code Review
Browse files

Merge "Change log order for module starting"

parents d022c356 d5367631
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,6 @@ Module* ModuleRegistry::Start(const ModuleFactory* module, Thread* thread) {
LOG_INFO("Constructing next module");
Module* instance = module->ctor_();
last_instance_ = "starting " + instance->ToString();
set_registry_and_handler(instance, thread);
LOG_INFO("Starting dependencies of %s", instance->ToString().c_str());
......@@ -93,6 +92,7 @@ Module* ModuleRegistry::Start(const ModuleFactory* module, Thread* thread) {
LOG_INFO("Finished starting dependencies and calling Start() of %s", instance->ToString().c_str());
last_instance_ = "starting " + instance->ToString();
instance->Start();
start_order_.push_back(module);
started_modules_[module] = instance;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment