summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--render/html.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/render/html.c b/render/html.c
index 1b686c255..2c9743d04 100644
--- a/render/html.c
+++ b/render/html.c
@@ -1382,6 +1382,10 @@ bool html_fetch_object(html_content *c, const char *url, struct box *box,
url_func_result res;
nserror error;
+ /* If we've already been aborted, don't bother attempting the fetch */
+ if (c->aborted)
+ return true;
+
child.charset = c->encoding;
child.quirks = c->base.quirks;