summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/prserv/serv.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/prserv/serv.py b/bitbake/lib/prserv/serv.py
index dfcbd2058f..6a99728c4f 100644
--- a/bitbake/lib/prserv/serv.py
+++ b/bitbake/lib/prserv/serv.py
@@ -492,7 +492,11 @@ def auto_shutdown():
492 PRServerConnection(host, port).terminate() 492 PRServerConnection(host, port).terminate()
493 except: 493 except:
494 logger.critical("Stop PRService %s:%d failed" % (host,port)) 494 logger.critical("Stop PRService %s:%d failed" % (host,port))
495 os.waitpid(singleton.prserv.pid, 0) 495
496 try:
497 os.waitpid(singleton.prserv.pid, 0)
498 except ChildProcessError:
499 pass
496 singleton = None 500 singleton = None
497 501
498def ping(host, port): 502def ping(host, port):