Merge "init: Do not invoke the ServiceList destructor when exiting"

This commit is contained in:
Treehugger Robot 2022-12-06 00:14:43 +00:00 committed by Gerrit Code Review
commit dfc88362b1

View file

@ -24,8 +24,8 @@ namespace init {
ServiceList::ServiceList() {}
ServiceList& ServiceList::GetInstance() {
static ServiceList instance;
return instance;
static ServiceList* instance = new ServiceList;
return *instance;
}
size_t ServiceList::CheckAllCommands() {