1
0
mirror of synced 2026-04-18 10:26:18 +00:00

driver: move IdString collection to yosys_shutdown

This commit is contained in:
Emil J. Tywoniak
2025-11-14 15:31:45 +01:00
parent abc78f0424
commit 65d7d70507
2 changed files with 1 additions and 1 deletions

View File

@@ -158,7 +158,6 @@ extern "C" {
void yosys_atexit()
{
RTLIL::OwningIdString::collect_garbage(false);
#if defined(YOSYS_ENABLE_READLINE) || defined(YOSYS_ENABLE_EDITLINE)
if (!yosys_history_file.empty()) {
#if defined(YOSYS_ENABLE_READLINE)

View File

@@ -260,6 +260,7 @@ void yosys_shutdown()
delete yosys_design;
yosys_design = NULL;
RTLIL::OwningIdString::collect_garbage();
for (auto f : log_files)
if (f != stderr)