bb/cooker: BBCooker stops notifier at shutdown
PATCH 1/1 bb/cooker: BBCooker stops notifier at shutdown
At end of BBCooker needs to release fd's associated with pyinotify watchers to avoid: Too many open files (EMFILE) error in different scenarios like several instances of tinfoil.
[YOCTO #10873]
Signed-off-by Aníbal Limón <[email protected]>
--- lib/bb/cooker.py | 2 ++ 1 file changed, 2 insertions(+)
lib/bb/cooker.py +2 -0
@@ -1731,6 +1731,8 @@ class BBCooker: if self.parser: self.parser.shutdown(clean=not force, force=force) + self.notifier.stop() + self.confignotifier.stop() def finishcommand(self): self.state = state.initial
Signature · 1 line
2.1.4