From f56956523f72461fc8ec2e391d60aa3853d6228f Mon Sep 17 00:00:00 2001 From: Timothy Baldridge Date: Mon, 13 Jul 2020 16:10:54 -0600 Subject: [PATCH] Fix compilation error --- Wabbajack.Lib/Metrics.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Wabbajack.Lib/Metrics.cs b/Wabbajack.Lib/Metrics.cs index 22f7e952..e4c5b97a 100644 --- a/Wabbajack.Lib/Metrics.cs +++ b/Wabbajack.Lib/Metrics.cs @@ -21,7 +21,6 @@ namespace Wabbajack.Lib public static async ValueTask GetMetricsKey() { - TOP: using var _ = await _creationLock.WaitAsync(); if (!Utils.HaveEncryptedJson(Consts.MetricsKeyHeader)) { @@ -72,7 +71,7 @@ namespace Wabbajack.Lib { // Probably an encryption error await Utils.DeleteEncryptedJson(Consts.MetricsKeyHeader); - goto TOP; + return await GetMetricsKey(); } }