Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Task cancellation #801

Open
prabhuamol opened this issue Jul 26, 2024 · 1 comment
Open

Question: Task cancellation #801

prabhuamol opened this issue Jul 26, 2024 · 1 comment

Comments

@prabhuamol
Copy link

Hi,
We are noticing that even after task cancellation the task remains in running state. Is this accurate? The doc does say
/// The pipeline will immediately cancel any work associated with a task
/// unless there is an equivalent outstanding task running.

Not sure what this means. Is there no guarantee that the task will get cancelled. We are seeing some slow loads in our scroll view with images. We currently cancel tasks as images go off screen but looks like the actual task never gets cancelled

@kean
Copy link
Owner

kean commented Jul 26, 2024

Hey, can you share the sample code that I could use to reproduce the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants