From 205e8e0c5ed7d1ad3e46366161631c1578d467bf Mon Sep 17 00:00:00 2001 From: Stone_Red <56473591+Stone-Red-Code@users.noreply.github.com> Date: Thu, 14 Dec 2023 11:28:59 +0100 Subject: [PATCH] Add log when closing TCP client --- HyperbolicDownloaderApi/Networking/NetworkClient.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/HyperbolicDownloaderApi/Networking/NetworkClient.cs b/HyperbolicDownloaderApi/Networking/NetworkClient.cs index 5c62d06..b22285a 100644 --- a/HyperbolicDownloaderApi/Networking/NetworkClient.cs +++ b/HyperbolicDownloaderApi/Networking/NetworkClient.cs @@ -209,6 +209,7 @@ internal class NetworkClient } finally { + ApiManager.SendNotificationMessageNewLine($"{(client.Client.RemoteEndPoint as IPEndPoint)?.Address} > Closing connection", NotificationMessageType.Log); client.Close(); } }