marinofaggiana há 4 anos atrás
pai
commit
5eba114a86
1 ficheiros alterados com 1 adições e 0 exclusões
  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)
     }