Avoid double free/use-after-free of static unique_ptr<>

Authored by bruns on May 22 2020, 12:06 PM.

Description

Avoid double free/use-after-free of static unique_ptr<>

The processtest autotest crashes as the static ProcessLocal is apparently
destructed twice from the global destructor list on program exit. The
issue can be triggered even with a trivial program:

int main(int argc, char* argv[])
{
    QApplication app(argc, argv);
    KSysGuardProcessList processList;
}

Details

Committed
brunsMay 22 2020, 12:06 PM
Parents
R111:9c17f75ebc43: Force en_US locale for signalplotter formatting checks
Branches
Unknown
Tags
Unknown