Skip to content

Commit 3e4700c

Browse files
committed
Close pipe
1 parent 4d621f2 commit 3e4700c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

cms/grading/tasktypes/interactive_keeper.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,7 @@ def main():
163163
wait=False,
164164
)
165165

166-
# We do not close p["c_to_u"][0] -- it only risks crashing the
167-
# controller with SIGPIPE if the submission exits early.
166+
os.close(p["c_to_u"][0])
168167
os.close(p["u_to_c"][1])
169168

170169
try:

0 commit comments

Comments
 (0)