mirror of
https://github.com/sogou/workflow.git
synced 2026-10-17 04:31:07 +08:00
Merge branch 'master' of https://github.com/sogou/workflow into nossl
This commit is contained in:
@@ -233,7 +233,7 @@ void __WFNamedTimerTask::dispatch()
|
||||
|
||||
mutex_.unlock();
|
||||
if (ret < 0)
|
||||
this->handle(SS_STATE_ERROR, errno);
|
||||
this->handle(WFT_STATE_SYS_ERROR, errno);
|
||||
}
|
||||
|
||||
void __WFNamedTimerTask::handle(int state, int error)
|
||||
@@ -259,7 +259,7 @@ void __WFNamedTimerTask::handle(int state, int error)
|
||||
|
||||
if (canceled)
|
||||
{
|
||||
state = SS_STATE_ERROR;
|
||||
state = WFT_STATE_SYS_ERROR;
|
||||
error = ECANCELED;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user