mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
Adds context manager API for the asyncrcp client class which allow
writing code that will automatically close the connection like so:
with hashserv.create_client(address) as client:
...
Rework the bitbake-hashclient tool and PR server to use this new API to
fix warnings about unclosed event loops when exiting
(Bitbake rev: ee090484cc25d760b8c20f18add17b5eff485b40)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d01d684a0f6398270fe35ed59b7d28f3fd9b7e41)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
|
||
|---|---|---|
| .. | ||
| bitbake | ||
| bitbake-diffsigs | ||
| bitbake-dumpsig | ||
| bitbake-getvar | ||
| bitbake-hashclient | ||
| bitbake-hashserv | ||
| bitbake-layers | ||
| bitbake-prserv | ||
| bitbake-selftest | ||
| bitbake-server | ||
| bitbake-worker | ||
| git-make-shallow | ||
| toaster | ||
| toaster-eventreplay | ||