marinofaggiana 3 năm trước cách đây
mục cha
commit
5eba114a86
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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)
     }