mirror of
https://github.com/sogou/workflow.git
synced 2026-10-28 11:07:02 +08:00
update channel state after close
This commit is contained in:
@@ -229,7 +229,8 @@ SubTask *WFComplexChannel<MSG>::done()
|
||||
if (this->state == WFT_STATE_SUCCESS)
|
||||
this->state = WFT_STATE_UNDEFINED;
|
||||
|
||||
// if (this->established == 0 && this->state == WFT_STATE_SYS_ERROR) // sending == false
|
||||
if (this->established == 0 && this->state == WFT_STATE_SYS_ERROR) // sending == false
|
||||
this->state = WFT_STATE_UNDEFINED;
|
||||
// delete this;
|
||||
|
||||
return series->pop();
|
||||
|
||||
Reference in New Issue
Block a user