summaryrefslogtreecommitdiffstats
path: root/lib/bb/data.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-21 10:27:10 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-22 00:07:09 +0100
commitac418e1112ff5f9c3157569316902f7a27fba4b4 (patch)
tree177ce0ea42562fe9df325021d21d7d2a578e19e9 /lib/bb/data.py
parenta16185e602b39b71475aa7e9ee80ad2b1f28d0f7 (diff)
downloadbitbake-contrib-ac418e1112ff5f9c3157569316902f7a27fba4b4.tar.gz
process: Further improve robustness against server shutdown
Currently, if an exception occurs in an event handler, the server shuts down but the UI simply hangs. This happens in two places, firstly waiting for events and secondly, sending events to a server which no longer exists. The latter does time out, the former does not. These patches improve both code sections to check if the main server process is alive and if not, trigger things to shut down gracefully. This avoids the timeout in the command sending case too. This resolves various cases where the UI would simply hang indefintely. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/data.py')
0 files changed, 0 insertions, 0 deletions