code optimization
This commit is contained in:
parent
d268fbf68d
commit
d4f7c43bbf
|
@ -2738,7 +2738,9 @@ void schedulerDestroy(void) {
|
|||
|
||||
while (pJob) {
|
||||
refId = pJob->refId;
|
||||
|
||||
if (refId == 0) {
|
||||
break;
|
||||
}
|
||||
taosRemoveRef(schMgmt.jobRef, pJob->refId);
|
||||
|
||||
pJob = taosIterateRef(schMgmt.jobRef, refId);
|
||||
|
|
Loading…
Reference in New Issue