Fix light mode nsvg cleanup

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-08-02 00:56:54 +01:00
parent 0f3ab5ddf0
commit 36ae333490
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
3 changed files with 29 additions and 2 deletions

View file

@ -76,6 +76,7 @@ static const constexpr uint kCardinalStateCount = kCardinalStateBaseCount;
namespace rack {
namespace asset {
std::string patchesPath();
void destroy();
}
namespace engine {
void Engine_setAboutToClose(Engine*);
@ -290,6 +291,9 @@ struct Initializer
INFO("Destroying plugins");
plugin::destroyStaticPlugins();
INFO("Destroying colourized assets");
asset::destroy();
INFO("Destroying settings");
settings::destroy();