Skip to content

Commit

Permalink
Call FillStatus after StartTask() in AsyncTaskGenerator (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwason committed Dec 23, 2023
1 parent e46dcca commit 8b1c1c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/RobotRaconteurCompanion/Util/TaskGenerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ namespace Util
StartTask();
started = true;
RR_INTRUSIVE_PTR<StatusType> ret(new StatusType());
ret->action_status = com::robotraconteur::action::ActionStatusCode::running;
ret->action_status = com::robotraconteur::action::ActionStatusCode::running;
FillStatus(ret);
lock.unlock();
handler(ret, nullptr);
return;
Expand Down

0 comments on commit 8b1c1c2

Please sign in to comment.