diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2021-09-09 09:25:33 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-09 09:41:51 +0100 |
commit | c7b506d11df78cfc4610db6578745eaa6220b13a (patch) | |
tree | e4a070bb98df3fe271c9f481442dddff7904ebee /lib/bb/tests/codeparser.py | |
parent | 9b2d96b27f550da0fa68ba9ea96be98eb3a832a6 (diff) | |
download | bitbake-1.50.3.tar.gz |
server: Fix early parsing errors preventing zombie bitbakeyocto-3.3.32021-04.3-hardknott1.50.3
If the client process never sends cooker data, the server timeout will
be 0.0, not None. This will prevent the server from exiting, as it is
waiting for a new client. In particular, the client will disconnect with
a bad "INHERIT" line, such as:
INHERIT += "this-class-does-not-exist"
Instead of checking explicitly for None, check for a false value, which
means either 0.0 or None.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 13e2855bff6a6ead6dbd33c5be4b988aafcd4afa)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/tests/codeparser.py')
0 files changed, 0 insertions, 0 deletions