mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-18 10:34:10 +01:00
fixes stack memleaks (#18395)
* fixes stack memleaks * . * more * . * . * urg * urg * . * . * . * . * . * . * . * . * . * . * cklear laws * Update vending.dm --------- Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user