diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-02-04 19:23:39 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-06 23:13:47 +0000 |
commit | 916c73dfefe0c4f960299ead6b4b7b3dcb18fc89 (patch) | |
tree | b7c043c5efb24163d3acd3958629aeb3933cd17e /bitbake/bin/bitbake-selftest | |
parent | 8857498ba4a9243fda1b79f2a359ec8e4139c6c3 (diff) | |
download | poky-916c73dfefe0c4f960299ead6b4b7b3dcb18fc89.tar.gz |
bitbake: cooker: shutdown cooker parser on shutdown
Currently any not catched exception in cooker causes bitbake
to hang because of not terminated children of CookerParser.
Long term solution would be to reimplement Cooker as a context
manager and terminate parser children in its __exit__ method.
Partial fix is to call CookerParser.shutdown in Cooker.shutdown in
hope that all Cooker exceptions are caught and shutdown method is
called.
[YOCTO #8900]
(Bitbake rev: 3f67600dc3292bc8208644ce89e8bf7ab95cf2e7)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin/bitbake-selftest')
0 files changed, 0 insertions, 0 deletions