marinofaggiana 3 년 전
부모
커밋
5eba114a86
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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)
     }