From 716008c685af407ff314891da8409cceae4533e1 Mon Sep 17 00:00:00 2001 From: Jicheng Lu <103353@smsassist.com> Date: Wed, 19 Jun 2024 12:29:47 -0500 Subject: [PATCH] minor change --- .../BotSharp.Core/Files/BotSharpFileService.Conversation.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Infrastructure/BotSharp.Core/Files/BotSharpFileService.Conversation.cs b/src/Infrastructure/BotSharp.Core/Files/BotSharpFileService.Conversation.cs index c58300bd..4ded2359 100644 --- a/src/Infrastructure/BotSharp.Core/Files/BotSharpFileService.Conversation.cs +++ b/src/Infrastructure/BotSharp.Core/Files/BotSharpFileService.Conversation.cs @@ -230,7 +230,6 @@ public partial class BotSharpFileService using var fs = new FileStream(Path.Combine(subDir, file.FileName), FileMode.OpenOrCreate); fs.Write(bytes, 0, bytes.Length); fs.Flush(); - fs.Close(); Thread.Sleep(2000); }