From 728a75a902c36e9f0bad7b1be6b8e5ca1cd402a2 Mon Sep 17 00:00:00 2001 From: Carl Johnsen Date: Fri, 7 Feb 2025 10:30:39 +0100 Subject: [PATCH] One stopwatch wasn't ensured always stopped in a try block --- Tools/RemoteSynchronization/Program.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Tools/RemoteSynchronization/Program.cs b/Tools/RemoteSynchronization/Program.cs index 3d3126714..3ac9c0eef 100644 --- a/Tools/RemoteSynchronization/Program.cs +++ b/Tools/RemoteSynchronization/Program.cs @@ -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(); }