From a93c951cbd9abceb30e4db6df9ba1192b17fd9e3 Mon Sep 17 00:00:00 2001 From: Edoardo Lolletti Date: Thu, 1 Jul 2021 17:36:11 +0200 Subject: [PATCH] libWindbot: Disconnect client on crash --- WindBot.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/WindBot.cs b/WindBot.cs index 47246f16..e037c51d 100644 --- a/WindBot.cs +++ b/WindBot.cs @@ -123,6 +123,7 @@ private static void Run(object o) { sw.WriteLine("[" + DateTime.Now.ToString("yy-MM-dd HH:mm:ss") + "] Tick Error: " + ex); } + client.Connection.Close(); return; } #endif