From b3941d2672052743fc875077640030e60f7344ff Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Sun, 19 Nov 2023 15:06:14 +0100 Subject: [PATCH] feat: disconnect all on stop. --- Server/Services/WonderkingAuthServer.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Server/Services/WonderkingAuthServer.cs b/Server/Services/WonderkingAuthServer.cs index 30ae4e8..7c79c80 100644 --- a/Server/Services/WonderkingAuthServer.cs +++ b/Server/Services/WonderkingAuthServer.cs @@ -27,6 +27,7 @@ public class WonderkingAuthServer : TcpServer, IHostedService public Task StopAsync(CancellationToken cancellationToken) { + this.DisconnectAll(); this.Stop(); return Task.CompletedTask; }