From 018bef7a434391b3b6bf43333d8bd018e31974b5 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Sun, 16 Feb 2025 15:21:01 +0100 Subject: [PATCH] Dispose the rust service at the end --- app/MindWork AI Studio/Program.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/MindWork AI Studio/Program.cs b/app/MindWork AI Studio/Program.cs index 5a02e9e4..866d232e 100644 --- a/app/MindWork AI Studio/Program.cs +++ b/app/MindWork AI Studio/Program.cs @@ -201,5 +201,8 @@ internal sealed class Program }; await serverTask; + + RUST_SERVICE.Dispose(); + programLogger.LogInformation("The AI Studio server was stopped."); } } \ No newline at end of file