summaryrefslogtreecommitdiffstats
path: root/scripts/lib/buildstats.py
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2023-11-03 08:26:21 -0600
committerSteve Sakoman <steve@sakoman.com>2024-01-10 05:02:09 -1000
commitafe1706a7795dd07e7b92e85019c17acedb4ac85 (patch)
tree36aee0d78333c6393d672c957f5abf8cdbbdb865 /scripts/lib/buildstats.py
parentf768ffb8916feb6542fcbe3e946cbf30e247b151 (diff)
downloadpoky-afe1706a7795dd07e7b92e85019c17acedb4ac85.tar.gz
bitbake: asyncrpc: Add context manager API
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: 52226a7244968c8dad6f4ee9ccec57ac1979217a) 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>
Diffstat (limited to 'scripts/lib/buildstats.py')
0 files changed, 0 insertions, 0 deletions