Skip to content

Commit

Permalink
Fix bug when error on receiving request.
Browse files Browse the repository at this point in the history
  • Loading branch information
Barenboim committed Oct 15, 2023
1 parent c674c5c commit f870f75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/factory/WFTask.inl
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ public:
protected:
virtual ~WFServerTask()
{
((Series *)series_of(this))->task = NULL;
if (this->target)
((Series *)series_of(this))->task = NULL;
}
};

Expand Down

0 comments on commit f870f75

Please sign in to comment.