[MIRROR] fixes stack memleaks (#11598)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-09-09 22:10:42 -04:00
committed by GitHub
co-authored by Kashargul Cameron Lennox
parent fbcdce2cc6
commit 6fcd225bfa
19 changed files with 118 additions and 47 deletions
+4
View File
@@ -19,6 +19,10 @@ Code is pretty much ripped verbatim from nano modules, but with un-needed stuff
if(ntos)
tgui_id = "Ntos" + tgui_id
/datum/tgui_module/Destroy(force)
host = null
. = ..()
/datum/tgui_module/tgui_host()
return host ? host.tgui_host() : src