     }
     
     func cancelDownload() {
-        SDWebImageDownloader.shared().cancel(self.operationToken)
+        self.operation?.cancel()
     }
 
     // Load from local file

    private var assetTargetSize = CGSize.zero
    
    private var loadingInProgress = false
    private var operationToken: SDWebImageDownloadToken?
    private var assetRequestID = PHInvalidImageRequestID
    
    //MARK: - Init

    }

    public func cancelAnyLoading() {
        if let op = self.operation {
            op.cancel()
            loadingInProgress = false
        }
        else
