Skip to content

Commit 4df6b5b

Browse files
committed
More GeneratorExit Protection
1 parent 1570059 commit 4df6b5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interpreter/core/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ def is_active_line_chunk(chunk):
389389
if last_flag_base:
390390
yield {**last_flag_base, "end": True}
391391
except GeneratorExit:
392-
pass # It's fine
392+
raise # gotta pass this up!
393393

394394
def reset(self):
395395
self.computer.terminate() # Terminates all languages

0 commit comments

Comments
 (0)