Skip to content

Commit 4354371

Browse files
committed
OK, close the file
1 parent 461f64a commit 4354371

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/other/filewatch.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ local f <close> = io.open((path / 'test.txt'):string(), 'w')
3535
assert(f)
3636
f:write('xxx')
3737
f:flush()
38+
f:close()
3839

3940
thread.sleep(1)
4041
events = {}

0 commit comments

Comments
 (0)