script: Remove Drop implementation of FetchCanceller (#41384)

Instead, we now explicitly call `.terminate()` and introduce relevant
methods to FetchCanceller.

Follow-up from review in #41345

---------

Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
Signed-off-by: Tim van der Lippe <TimvdLippe@users.noreply.github.com>
Co-authored-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
Tim van der Lippe
2025-12-19 09:31:09 +01:00
committed by GitHub
parent 76691c5ce5
commit d8bf293828
6 changed files with 26 additions and 18 deletions

View File

@@ -433,7 +433,7 @@ impl FetchResponseListener for PosterFrameFetchContext {
if !status_is_ok {
self.cancelled = true;
self.fetch_canceller.cancel();
self.fetch_canceller.abort();
}
}