fix: coredump caused by typo

This commit is contained in:
Hongze Cheng 2023-11-30 09:20:18 +08:00
parent 65ccc4aa48
commit 547e673955
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ static int32_t vnodeAsyncTaskDone(SVAsync *async, SVATask *task) {
nextTask->next->prev = nextTask->prev;
nextTask->prev->next = nextTask->next;
} else {
nextTask->priority++;
nextTask->priorScore++;
int32_t newPriority = VATASK_PIORITY(nextTask);
if (newPriority != i) {
// remove from current priority queue