|
@@ -1355,7 +1355,7 @@ class BBCooker:
|
|
|
if self.state == state.running:
|
|
|
return
|
|
|
|
|
|
- if self.state in (state.shutdown, state.forceshutdown):
|
|
|
+ if self.state in (state.shutdown, state.forceshutdown, state.error):
|
|
|
if hasattr(self.parser, 'shutdown'):
|
|
|
self.parser.shutdown(clean=False, force = True)
|
|
|
raise bb.BBHandledException()
|