From 33f0a7fcba6986250002731e9b75f82decd253b0 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Mon, 26 Aug 2024 17:08:07 +0300 Subject: [PATCH] Reset ansi progress on disconnect --- DepotDownloader/Steam3Session.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DepotDownloader/Steam3Session.cs b/DepotDownloader/Steam3Session.cs index d2ee88a..0246272 100644 --- a/DepotDownloader/Steam3Session.cs +++ b/DepotDownloader/Steam3Session.cs @@ -403,6 +403,8 @@ namespace DepotDownloader bIsConnectionRecovery = false; steamClient.Disconnect(); + Ansi.Progress(Ansi.ProgressState.Hidden); + // flush callbacks until our disconnected event while (!bDidDisconnect) {