Files
Bubberstation/code/modules
SkyratBot 9edb55b8b1 [MIRROR] Attempting to fix search_object hard dels (#29167)
* Attempting to fix search_object hard dels (#85394)

## About The Pull Request

![image](https://github.com/user-attachments/assets/b4cd5369-06c4-4e01-98f4-343030e28199)

These were coming up often, had a hunch that the callback may have been
hanging their refs. It seems to be true from my testing, they should be
passing GLOBAL_PROC as the `object` arg, not `src`, since qdel is not a
`search_object` proc. (Thanks Melbert for noticing that detail!)

Also just tidies up the code a bit, adding checks to prevent redundant
qdel calls and preventing a potential race condition with qdeleted
atoms.

## Why It's Good For The Game

Hard dels here in particular have potential to cause significant lag and
issues.

## Changelog

Not player-facing really

* Attempting to fix search_object hard dels

---------

Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
2024-08-04 21:05:57 +05:30
..