Open stefan-sherwood opened 3 years ago
yeah Config
was actually supposed to go away on my last major rework, but there were some open PRs still using it so I decided to leave it for now
Once I get to cleaning that up, it'll be gone 😄
there's also a bug in the OA lib when you shut down, so I've also been a bit more laxed on a clean dash shutdown for now :p
class
Config
is constructed withQApplication
as its parent (insrc/app/config.cpp
).but it is instantiated on the stack
On shutdown,
QApplication
callsfree()
on all of its children, including the instance ofConfig
. This causes an abnormal program termination on every shutdown.