From b0c41d4ed4cd20573d06dc0ed8b89996272cbfb3 Mon Sep 17 00:00:00 2001 From: Adam Dobrowolski Date: Fri, 4 Mar 2022 06:43:07 +0100 Subject: [PATCH] [MOS-225] Restore SystemManager service idle priority It crashes othervise on use of deleted elements --- module-sys/SystemManager/SystemManagerCommon.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module-sys/SystemManager/SystemManagerCommon.cpp b/module-sys/SystemManager/SystemManagerCommon.cpp index f55e60b5f..981f3639f 100644 --- a/module-sys/SystemManager/SystemManagerCommon.cpp +++ b/module-sys/SystemManager/SystemManagerCommon.cpp @@ -85,8 +85,7 @@ namespace sys } SystemManagerCommon::SystemManagerCommon(std::vector> &&creators) - : Service(service::name::system_manager, "", systemManagerStack, ServicePriority::Low), systemServiceCreators{ - std::move(creators)} + : Service(service::name::system_manager, "", systemManagerStack), systemServiceCreators{std::move(creators)} { // Specify list of channels which System Manager is registered to bus.channels = {BusChannel::SystemManagerRequests};