feat: disconnect all on stop.

This commit is contained in:
Timothy Schenk 2023-11-19 15:06:14 +01:00
parent 6589a9f890
commit b3941d2672

View file

@ -27,6 +27,7 @@ public class WonderkingAuthServer : TcpServer, IHostedService
public Task StopAsync(CancellationToken cancellationToken)
{
this.DisconnectAll();
this.Stop();
return Task.CompletedTask;
}