1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

bitbake: server/process: Log extra threads at exit

Dump info into the logs if there are extra threads left at process exit
time.

(Bitbake rev: 1c9496797b753e67351bd5cb98ef2b8e9435d51e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2020-08-24 17:32:39 +01:00
parent 4dd9ebd948
commit 6bab132879
+3
View File
@@ -233,6 +233,9 @@ class ProcessServer():
ready = self.idle_commands(.1, fds)
if len(threading.enumerate()) != 1:
print("More than one thread left?: " + str(threading.enumerate()))
print("Exiting")
# Remove the socket file so we don't get any more connections to avoid races
try: