Weakref cleanup (#19382)

* oh god help

* fixes

* oops

* container runtime

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
Will
2026-04-21 04:57:02 -04:00
committed by GitHub
co-authored by Cameron Lennox
parent 47a0e04bae
commit fb4cf2e80a
34 changed files with 107 additions and 9 deletions
+4
View File
@@ -31,6 +31,10 @@
if (source)
src.source_ref = WEAKREF(source)
/datum/browser/Destroy(force)
. = ..()
source_ref = null
/datum/browser/proc/user_deleted(datum/source)
SIGNAL_HANDLER
user = null