mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-27 20:04:08 +03:00
HTML content handler: Don't let aborted contents get stuck in LOADING.
Previously, aborted HTML fetches left the content in LOADING state, and the hlcache clean code does not clean contents in the LOADING state. They, and their child contents ended up stuck in the cache forever.
This commit is contained in:
parent
0747e0ed53
commit
6bfc8ba547
@ -1220,6 +1220,7 @@ html_begin_conversion(html_content *htmlc)
|
||||
if (htmlc->aborted) {
|
||||
LOG("Conversion aborted (%p) (active: %u)", htmlc,
|
||||
htmlc->base.active);
|
||||
content_set_error(&htmlc->base);
|
||||
content_broadcast_errorcode(&htmlc->base, NSERROR_STOPPED);
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user