Fixes some image hard dels, and adds context to qdeleting images. (#80736)

## About The Pull Request

(see https://github.com/NovaSector/NovaSector/pull/250 , credit to
capsaicinz for tracking these!).

Upstreaming the fixes for some bot hard dels likely brought up by a
recent PR.

There are a lot of them because it is qdeleting a whole list of them at
a time.

Example log:


![image](https://github.com/tgstation/tgstation/assets/13398309/defe698c-7526-4b95-b49a-5cfee32a97c2)

[link to
log](https://tgstation13.org/parsed-logs/sybil/data/logs/2024/01/01/round-221465/qdel.txt)

---

I have also included some context that I have been using to help track
image qdels locally, it might be something you want here. If not I can
just revert that part.

## Why It's Good For The Game

Should help a ton with lag spikes.

## Changelog

🆑
fix: fixes an image hard del
code: adds context to image hard dels to make them easier to track
/🆑
This commit is contained in:
Bloop
2024-01-04 19:53:37 -05:00
committed by GitHub
parent ccc63dab17
commit 4007cf7a65
3 changed files with 10 additions and 2 deletions
@@ -50,7 +50,7 @@
clear_path_hud()
var/list/path_images = active_hud_list[DIAG_PATH_HUD]
QDEL_LIST(path_images)
LAZYCLEARLIST(path_images)
var/list/path_huds_watching_me = list(GLOB.huds[DATA_HUD_DIAGNOSTIC_ADVANCED])