[MOS-225] Restore SystemManager service idle priority

It crashes othervise on use of deleted elements
This commit is contained in:
Adam Dobrowolski
2022-03-04 06:43:07 +01:00
committed by Adam Dobrowolski
parent 1fff92e9d6
commit b0c41d4ed4

View File

@@ -85,8 +85,7 @@ namespace sys
}
SystemManagerCommon::SystemManagerCommon(std::vector<std::unique_ptr<BaseServiceCreator>> &&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};