Skip to content

Commit

Permalink
Don't use rctx exec
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemartinlogan committed Oct 19, 2023
1 parent c699cfd commit 156c6a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hrun/src/worker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ void Worker::PollGrouped(WorkEntry &work_entry) {
rctx.lane_id_ = work_entry.lane_id_;
rctx.flush_ = &flush_;
// Get the task state
TaskState *&exec = rctx.exec_;
exec = HRUN_TASK_REGISTRY->GetTaskState(task->task_state_);
TaskState *exec = HRUN_TASK_REGISTRY->GetTaskState(task->task_state_);
rctx.exec_ = exec;
if (!exec) {
for (std::pair<std::string, TaskStateId> entries : HRUN_TASK_REGISTRY->task_state_ids_) {
HILOG(kInfo, "Task state: {} id: {} ptr: {}",
Expand Down

0 comments on commit 156c6a2

Please sign in to comment.