Skip to content

Commit

Permalink
#1943: do not delete pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
stmcgovern committed Sep 14, 2022
1 parent 0d3c426 commit 294a248
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/vt/scheduler/base_unit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ void BaseUnit::execute() {
theSched()->suspend(tid, std::move(r_));
}
#endif
delete r_;
r_ = nullptr;
} else if (work_) {
work_();
}
Expand Down

0 comments on commit 294a248

Please sign in to comment.