You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The await expression is used to run coroutines, which by design have side-effects. However, CodeQL erroneously treats a bare await expression like any other bare expression and thus assumes it has no side-effects and is used in error. This leads to false-positive flags when await is used to trigger a side-effect without a return value.
deffoo():
...
# close a critical resourceawaitaclose
URL to the alert on the project page on LGTM.com GithHub