Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;