Loading system/gd/module.cc +1 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ using ::bluetooth::os::Thread; namespace bluetooth { constexpr std::chrono::milliseconds kModuleStopTimeout = std::chrono::milliseconds(20); constexpr std::chrono::milliseconds kModuleStopTimeout = std::chrono::milliseconds(2000); ModuleFactory::ModuleFactory(std::function<Module*()> ctor) : ctor_(ctor) { } Loading system/gd/module_unittest.cc +0 −2 Original line number Diff line number Diff line Loading @@ -59,7 +59,6 @@ class TestModuleNoDependency : public Module { void Stop() override { // A module is not considered stopped until after Stop() finishes test_module_no_dependency_handler = nullptr; EXPECT_TRUE(GetModuleRegistry()->IsStarted<TestModuleNoDependency>()); } }; Loading Loading @@ -88,7 +87,6 @@ class TestModuleOneDependency : public Module { } void Stop() override { test_module_one_dependency_handler = GetHandler(); EXPECT_TRUE(GetModuleRegistry()->IsStarted<TestModuleNoDependency>()); // A module is not considered stopped until after Stop() finishes Loading Loading
system/gd/module.cc +1 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ using ::bluetooth::os::Thread; namespace bluetooth { constexpr std::chrono::milliseconds kModuleStopTimeout = std::chrono::milliseconds(20); constexpr std::chrono::milliseconds kModuleStopTimeout = std::chrono::milliseconds(2000); ModuleFactory::ModuleFactory(std::function<Module*()> ctor) : ctor_(ctor) { } Loading
system/gd/module_unittest.cc +0 −2 Original line number Diff line number Diff line Loading @@ -59,7 +59,6 @@ class TestModuleNoDependency : public Module { void Stop() override { // A module is not considered stopped until after Stop() finishes test_module_no_dependency_handler = nullptr; EXPECT_TRUE(GetModuleRegistry()->IsStarted<TestModuleNoDependency>()); } }; Loading Loading @@ -88,7 +87,6 @@ class TestModuleOneDependency : public Module { } void Stop() override { test_module_one_dependency_handler = GetHandler(); EXPECT_TRUE(GetModuleRegistry()->IsStarted<TestModuleNoDependency>()); // A module is not considered stopped until after Stop() finishes Loading