ENH: call Bambu source deinit

Change-Id: I7b96056aabe7a894c66fcaf61e24f783f5a1e217
Jira: STUDIO-7666
(cherry picked from commit 9f85798a0bc8d02b3f0a30fd42934f58b48e67e9)
This commit is contained in:
chunmao.guo 2024-10-16 10:21:47 +08:00 committed by Noisyfox
parent f2022f431b
commit ef5463f9fe
3 changed files with 12 additions and 4 deletions

View file

@ -157,6 +157,7 @@ namespace pt = boost::property_tree;
struct StaticBambuLib
{
static void reset();
static void release();
};
namespace Slic3r {
@ -1898,6 +1899,8 @@ GUI_App::~GUI_App()
delete preset_updater;
}
StaticBambuLib::release();
BOOST_LOG_TRIVIAL(info) << __FUNCTION__<< boost::format(": exit");
}