Merge "init: Do not invoke the ServiceList destructor when exiting"
This commit is contained in:
commit
dfc88362b1
1 changed files with 2 additions and 2 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue