Skip to content

Commit 4f5e778

Browse files
committed
Added missing close on file stream to LoadViaLoop
1 parent 26080bd commit 4f5e778

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

csharp/snippets/loading/LoadViaLoop/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@
130130
}
131131
finally
132132
{
133+
fs.Close();
134+
133135
// IMPORTANT: make sure to destroy the environment
134136
env.Destroy();
135137

0 commit comments

Comments
 (0)