One stopwatch wasn't ensured always stopped in a try block

This commit is contained in:
Carl Johnsen
2025-02-07 10:30:39 +01:00
parent 4144b3a25e
commit 728a75a902
+4
View File
@@ -721,6 +721,10 @@ destination will be verified before being overwritten (if they seemingly match).
{
Duplicati.Library.Logging.Log.WriteErrorMessage(LOGTAG, "rsync", e,
"Error renaming {0}: {1}", f.Name, e.Message);
}
finally
{
// Ensure the timer is stopped
sw.Stop();
}