Bring out Status intor local variable.
MODIFY
WalletWasabi/Bases/PeriodicRunner.cs
WalletWasabi/Bases/PeriodicRunner.cs
@@ -66,9 +66,10 @@ namespace WalletWasabi.Bases
{
try
{
- Status = await ActionAsync(Stop.Token).ConfigureAwait(false);
+ var status = await ActionAsync(Stop.Token).ConfigureAwait(false);
+ Status = status;
LogAndResetLastExceptionIfNotNull();
- if (finishIf(Status))
+ if (finishIf(status))
{
Stop?.Cancel();
}

Bring out Status intor local variable.