|
@@ -1563,6 +1563,7 @@ class BBCooker:
|
|
|
if self.state in (state.shutdown, state.forceshutdown, state.error):
|
|
|
if hasattr(self.parser, 'shutdown'):
|
|
|
self.parser.shutdown(clean=False, force = True)
|
|
|
+ self.parser.final_cleanup()
|
|
|
raise bb.BBHandledException()
|
|
|
|
|
|
if self.state != state.parsing:
|