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
@@ -55,6 +55,10 @@
if(usr)
user = WEAKREF(usr)
/datum/callback/Destroy(force)
. = ..()
user = null
/world/proc/ImmediateInvokeAsync(thingtocall, proctocall, ...)
set waitfor = FALSE