Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIRROR] Fixes forensics hard del #2328

Merged
merged 1 commit into from
Mar 9, 2024
Merged

[MIRROR] Fixes forensics hard del #2328

merged 1 commit into from
Mar 9, 2024

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Nova: NovaSector/NovaSector#1341
Original PR: tgstation/tgstation#81880

About The Pull Request

Should fix this CI error.

firefox_JiarBI7EY5

parent used to be a weakref but since it's not any longer (as of #81751) we need to manage the ref more carefully.

The forensic datum should be getting QDEL_NULL'd in atom/Destroy() but I think what was likely happening was somehow, something was adding a forensics datum again after the atom was qdeleted. This should hopefully prevent that from happening.

Why It's Good For The Game

Less CI errors

Changelog

Nothing player facing

* Fixes forensics hard del (#81880)

## About The Pull Request

Should fix this CI error.


![firefox_JiarBI7EY5](https://github.com/tgstation/tgstation/assets/13398309/b456900c-e97c-4184-8615-98752ee6349a)

`parent` used to be a weakref but since it's not any longer (as of
#81751) we need to manage the ref more carefully.

The forensic datum should be getting `QDEL_NULL`'d in `atom/Destroy()`
but I think what was likely happening was somehow, something was adding
a forensics datum again after the atom was qdeleted. This should
hopefully prevent that from happening.

## Why It's Good For The Game

Less CI errors

## Changelog

Nothing player facing

* Fixes forensics hard del

---------

Co-authored-by: Bloop <[email protected]>
@Iajret Iajret merged commit 7c04fa5 into master Mar 9, 2024
24 checks passed
@Iajret Iajret deleted the upstream-mirror-1341 branch March 9, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants