public override void Stop() { _worker.Stop(new TimeSpan(0)); _serverlistManager.Dispose(); _chatServer.Stop(); RelayServer.Stop(); base.Stop(); }
protected override void OnStopping() { _worker.Stop(new TimeSpan(0)); _serverlistManager.Dispose(); }