Prevent a hang when shutdown() is called during parsing (e.g. after
SIGINT). We must not append 'None' to the jobs queue. Otherwise the
worker loop inside Parser.realrun() may break out at the wrong point,
causing the results queue thread blocking bitbake indefinitely.
[YOCTO #9319]
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bb.event.fire(event, self.cfgdata)
self.feeder_quit.put(None)
for process in self.processes:
- self.jobs.put(None)
self.parser_quit.put(None)
else:
self.feeder_quit.put('cancel')