proc xschem_quit: force close file_chooser if left open to prevent unfreed memory resources

This commit is contained in:
stefan schippers 2026-02-28 02:25:56 +01:00
parent 346a9704df
commit e537320e78
1 changed files with 1 additions and 0 deletions

View File

@ -9262,6 +9262,7 @@ proc quit_xschem { {force {}}} {
xschem new_schematic destroy_all $force
xschem new_schematic switch .drw
if {[winfo exists .ins]} { .ins.bottom.dismiss invoke }
set remaining [xschem exit closewindow $force]
return $remaining
}