Skip to content

Commit

Permalink
Remove superfluous media request upload handle cancellation call.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanceriu committed Oct 16, 2024
1 parent 0651314 commit 0c03f8c
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ class MediaUploadPreviewScreenViewModel: MediaUploadPreviewScreenViewModelType,

private func sendAttachment(mediaInfo: MediaInfo, progressSubject: CurrentValueSubject<Double, Never>) async -> Result<Void, TimelineProxyError> {
let requestHandle: ((SendAttachmentJoinHandleProtocol) -> Void) = { [weak self] handle in
self?.requestHandle?.cancel()
self?.requestHandle = handle
}

Expand Down

0 comments on commit 0c03f8c

Please sign in to comment.