store config to disk when destroying ui (#1791)

This commit is contained in:
Olivia!!
2026-05-25 06:20:32 +02:00
committed by GitHub
parent 2e1cc7cb26
commit f03bd71612
+2
View File
@@ -15,6 +15,7 @@
#include "input.hpp"
#include "prelaunch.hpp"
#include "window.hpp"
#include "dusk/config.hpp"
namespace dusk::ui {
namespace {
@@ -60,6 +61,7 @@ bool initialize() noexcept {
}
void shutdown() noexcept {
config::Save();
sDocumentStack.clear();
sPassiveDocuments.clear();
sConnectedGamepads.clear();