summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2017-01-09 10:22:51 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-23 15:42:25 +0000
commit2ada2efb057a291eb34c66d975eb339232137956 (patch)
treed0f8c1116419c2e97d341452bbc2942cc4664305 /classes
parent12dfac442d2d5674198485fbeb708a01d215c576 (diff)
downloadbitbake-contrib-2ada2efb057a291eb34c66d975eb339232137956.tar.gz
lib/bb/main.py: Shutdown cooker when server isn't foreground
The cooker is added to the BBServer and then detached creating a copy of the cooker in the process, if the server isn't in foreground it cause fd leaks on inotify this can be see using many instances of tinfoil. Example: from bb.tinfoil import Tinfoil while True: with Tinfoil() as tinfoil: input("Pre\n") tinfoil.prepare(config_only=True) input("Post\n") [YOCTO #10873] Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'classes')
0 files changed, 0 insertions, 0 deletions