b library

fix unload lib on error
This commit is contained in:
2026-02-14 14:31:24 +01:00
parent 8b1ea302c9
commit 15969538de
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -43,6 +43,7 @@ Simulators::Simulators(uint16_t port, QString can_dev, QString uart_dev, QObject
if (loaded_sim == nullptr)
{
SPDLOG_INFO("{} NOT FOUND", lib.fileName().toStdString());
lib.unload();
continue;
}
auto widget = loaded_sim(&m_com, this);