From 4d6c533527a53586f734d40615e4c1c02d6dff78 Mon Sep 17 00:00:00 2001 From: James Botting Date: Tue, 22 Sep 2015 21:38:11 +0100 Subject: [PATCH] Reset wait handle when steam connection error occours. --- ARKUpdater/Classes/SteamKit.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ARKUpdater/Classes/SteamKit.cs b/ARKUpdater/Classes/SteamKit.cs index 040ba53..ae51d75 100644 --- a/ARKUpdater/Classes/SteamKit.cs +++ b/ARKUpdater/Classes/SteamKit.cs @@ -144,9 +144,11 @@ private void LogOnCallback(SteamUser.LoggedOnCallback loggedOn) { if( loggedOn.Result != EResult.OK ) { - _Parent.Log.ConsolePrint(LogLevel.Debug, "Unable to connect to Steam3. {0}", loggedOn.Result); + _Parent.Log.ConsolePrint(LogLevel.Error, "Unable to connect to Steam3. Error: {0}", loggedOn.Result); _ThreadRunning = false; + Failed = true; + _ResetEvent.Set(); return; }