Skip to content

Commit 90fd46a

Browse files
committed
properly close files
1 parent 375228c commit 90fd46a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: benchmark.py

+3
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ def do_op(self, index):
8989
else:
9090
data[key] = value
9191

92+
for file in files:
93+
files[file].close()
94+
9295
return self.post(data)
9396

9497
def rand_op(self):

0 commit comments

Comments
 (0)