Skip to content

Commit

Permalink
retension timer
Browse files Browse the repository at this point in the history
Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
  • Loading branch information
marinofaggiana committed Sep 15, 2024
1 parent 9272511 commit 03e38fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iOSClient/Media/NCMedia.swift
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ class NCMedia: UIViewController {
// MARK: - NotificationCenter

@objc func networkRemoveAll() {
timerSearchNewMedia?.invalidate()
timerSearchNewMedia = nil
filesExists.removeAll()
NCNetworking.shared.fileExistsQueue.cancelAll()
NCNetworking.shared.downloadThumbnailQueue.cancelAll()
Expand Down

0 comments on commit 03e38fc

Please sign in to comment.