🎨 style(core): normalize lifecycle implementation
This commit is contained in:
@@ -45,10 +45,9 @@ export namespace lsp::core
|
||||
public:
|
||||
ExecutionContext(scheduler::async_executor::AsyncExecutor& scheduler,
|
||||
manager::ManagerHub& manager_hub,
|
||||
std::stop_token stop_token = {})
|
||||
: async_executor_(scheduler),
|
||||
manager_hub_(manager_hub),
|
||||
stop_token_(stop_token)
|
||||
std::stop_token stop_token = {}) : async_executor_(scheduler),
|
||||
manager_hub_(manager_hub),
|
||||
stop_token_(stop_token)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -120,8 +119,8 @@ namespace lsp::core
|
||||
{
|
||||
RequestDispatcher::RequestDispatcher(
|
||||
scheduler::async_executor::AsyncExecutor& scheduler,
|
||||
manager::ManagerHub& manager_hub)
|
||||
: async_executor_(scheduler), manager_hub_(manager_hub)
|
||||
manager::ManagerHub& manager_hub) : async_executor_(scheduler),
|
||||
manager_hub_(manager_hub)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user