From 44abffd7e7638e4e80eff745318f589b2ebd0143 Mon Sep 17 00:00:00 2001 From: shinichi Date: Fri, 16 Oct 2020 12:18:46 +0200 Subject: [PATCH] closing windows works --- ClientApp/Utils/Client.cs | 1 + ClientApp/Utils/EngineConnection.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ClientApp/Utils/Client.cs b/ClientApp/Utils/Client.cs index e292e0e..2dd2d3f 100644 --- a/ClientApp/Utils/Client.cs +++ b/ClientApp/Utils/Client.cs @@ -299,6 +299,7 @@ namespace ClientApp.Utils this.stream.Dispose(); this.client.Dispose(); this.handler.stop(); + this.engineConnection.Stop(); } } } diff --git a/ClientApp/Utils/EngineConnection.cs b/ClientApp/Utils/EngineConnection.cs index ec3e5a5..c8ac28e 100644 --- a/ClientApp/Utils/EngineConnection.cs +++ b/ClientApp/Utils/EngineConnection.cs @@ -156,7 +156,7 @@ namespace ClientApp.Utils Console.WriteLine("set tunnel id to " + tunnelId); if (tunnelId == null) { - Write("could not find a valid tunnel id!"); + //Write("could not find a valid tunnel id!"); OnNoTunnelId?.Invoke(); Connected = false; FollowingRoute = false;