mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-23 06:01:27 +00:00
driver: garbage collect IdStrings without tracing at exit
This commit is contained in:
parent
bc3fc21248
commit
1dd5b150e5
1 changed files with 1 additions and 0 deletions
|
|
@ -158,6 +158,7 @@ extern "C" {
|
||||||
|
|
||||||
void yosys_atexit()
|
void yosys_atexit()
|
||||||
{
|
{
|
||||||
|
RTLIL::OwningIdString::collect_garbage(false);
|
||||||
#if defined(YOSYS_ENABLE_READLINE) || defined(YOSYS_ENABLE_EDITLINE)
|
#if defined(YOSYS_ENABLE_READLINE) || defined(YOSYS_ENABLE_EDITLINE)
|
||||||
if (!yosys_history_file.empty()) {
|
if (!yosys_history_file.empty()) {
|
||||||
#if defined(YOSYS_ENABLE_READLINE)
|
#if defined(YOSYS_ENABLE_READLINE)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue