Skip to content

Commit ec7f7c6

Browse files
committed
+ add missing finish method for file_wrapper
1 parent a888035 commit ec7f7c6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

trinity/buffer/ray_wrapper.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,3 +171,6 @@ def read(self) -> List:
171171
raise NotImplementedError(
172172
"read() is not implemented for FileWrapper, please use QUEUE instead"
173173
)
174+
175+
def finish(self) -> None:
176+
self.file.close()

0 commit comments

Comments
 (0)