Skip to content

Commit e268632

Browse files
committed
ord: Reinit after deleting all sta memory
Signed-off-by: Eren Dogan <[email protected]>
1 parent 32d9124 commit e268632

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/OpenRoad.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,7 @@ OpenRoad::~OpenRoad()
155155
}
156156
sta::Sta::setSta(sta_);
157157
sta::deleteAllMemory();
158-
if (temp) { // reinit if this isn't the last instance
159-
sta::initSta();
160-
}
158+
sta::initSta();
161159
sta::Sta::setSta(temp);
162160
odb::dbDatabase::destroy(db_);
163161
delete logger_;

0 commit comments

Comments
 (0)