From 50e37d16bc56747df819ab07d19048b7e19009d7 Mon Sep 17 00:00:00 2001 From: superp00t Date: Wed, 16 Apr 2025 11:21:52 -0400 Subject: [PATCH] feat(client): SRegDestory should be called upon exit, saving registry entries to a file --- src/client/Client.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/client/Client.cpp b/src/client/Client.cpp index ba2275a..33829c1 100644 --- a/src/client/Client.cpp +++ b/src/client/Client.cpp @@ -633,6 +633,12 @@ void DestroyGlobal() { // TODO } +void StormDestroy() { + // TODO + + SRegDestroy(); +} + void CommonMain() { StormInitialize(); @@ -670,8 +676,9 @@ void CommonMain() { DestroyGlobal(); } + StormDestroy(); + // TODO: - // StormDestroy(); // Misc Cleanup }