marinofaggiana 3 vuotta sitten
vanhempi
commit
5eba114a86
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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)
     }