Skip to content

Commit

Permalink
Merge pull request #891 from skliper/fix873-rogue_while_loop
Browse files Browse the repository at this point in the history
Fix #873, Remove rogue while loop in OS_DeleteAllObjects
  • Loading branch information
astrogeco authored Mar 17, 2021
2 parents e24723b + 7cc4e3b commit 2f128db
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/os/shared/src/osapi-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,6 @@ void OS_DeleteAllObjects(void)
}
OS_TaskDelay(5);
}
while (ObjectCount > 0 && TryCount < 5)
;
} /* end OS_DeleteAllObjects */

/*----------------------------------------------------------------
Expand Down

0 comments on commit 2f128db

Please sign in to comment.