mirror of
https://github.com/servo/servo
synced 2026-05-01 03:47:53 +02:00
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:
committed by
GitHub
parent
76691c5ce5
commit
d8bf293828
@@ -433,7 +433,7 @@ impl FetchResponseListener for PosterFrameFetchContext {
|
||||
|
||||
if !status_is_ok {
|
||||
self.cancelled = true;
|
||||
self.fetch_canceller.cancel();
|
||||
self.fetch_canceller.abort();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user