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)" (#1325)

This reverts commit 5bf349b.
  • Loading branch information
spfennell authored Jul 28, 2022
1 parent 5bf349b commit be5f170
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 be5f170

Please sign in to comment.