mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 06:21:45 +03:00
llcache: Do not delete objects if they were iterator targets
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
parent
b48e462f0f
commit
6b4610edc9
@ -397,7 +397,7 @@ static nserror llcache_send_event_to_users(llcache_object *object,
|
||||
|
||||
user->iterator_target = was_target;
|
||||
|
||||
if (user->queued_for_delete) {
|
||||
if (user->queued_for_delete && !was_target) {
|
||||
llcache_object_remove_user(object, user);
|
||||
llcache_object_user_destroy(user);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user