marinofaggiana 3 years ago
parent
commit
5eba114a86
1 changed files with 1 additions and 0 deletions
  1. 1 0
      iOSClient/Networking/NCNetworkingProcessUpload.swift

+ 1 - 0
iOSClient/Networking/NCNetworkingProcessUpload.swift

@@ -43,6 +43,7 @@ class NCNetworkingProcessUpload: NSObject {
     }
     
     func startTimer() {
+        timerProcess?.invalidate()
         timerProcess = Timer.scheduledTimer(timeInterval: 5, target: self, selector: #selector(process), userInfo: nil, repeats: true)
     }