Skip to content

Commit

Permalink
Revert "In MemoryManager_clear_memory.cpp call delete_var with destro…
Browse files Browse the repository at this point in the history
…y flag==true. #1301 (#1324)"

This reverts commit 5bf349b.
  • Loading branch information
spfennell authored Jul 28, 2022
1 parent 5bf349b commit 1cc7b6d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ void Trick::MemoryManager::reset_memory() {

n_addrs = deletion_list.size();
for (ii = 0 ; ii < n_addrs ; ii ++) {
delete_var( deletion_list[ii], true);
delete_var( deletion_list[ii], false);
}

// reset counter to 100mil. This (hopefully) ensures all alloc'ed ids are after external variables.
Expand Down

0 comments on commit 1cc7b6d

Please sign in to comment.