mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-28 06:28:01 +01:00
Enables SHOULD_CALL_PARENT for datum Destroy proc (#16828)
This commit is contained in:
@@ -13,6 +13,7 @@ var/datum/controller/transfer_controller/transfer_controller
|
||||
|
||||
/datum/controller/transfer_controller/Destroy()
|
||||
STOP_PROCESSING(SSprocessing, src)
|
||||
..()
|
||||
|
||||
/datum/controller/transfer_controller/process()
|
||||
currenttick = currenttick + 1
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
* Returns [QDEL_HINT_QUEUE]
|
||||
*/
|
||||
/datum/proc/Destroy(force=FALSE)
|
||||
//SHOULD_CALL_PARENT(TRUE)
|
||||
SHOULD_CALL_PARENT(TRUE)
|
||||
//SHOULD_NOT_SLEEP(TRUE)
|
||||
tag = null
|
||||
weak_reference = null //ensure prompt GCing of weakref.
|
||||
|
||||
@@ -859,6 +859,7 @@
|
||||
|
||||
/atom/movable/storage_slot/Destroy()
|
||||
held_item = null
|
||||
..()
|
||||
|
||||
/// Has to be this way. The fact that the overlays will be constantly mutated by other storage means we can't wait.
|
||||
/atom/movable/storage_slot/add_overlay(list/somethings)
|
||||
|
||||
@@ -31,4 +31,5 @@ var/global/datum/global_init/init = new ()
|
||||
|
||||
/datum/global_init/Destroy()
|
||||
global.init = null
|
||||
..()
|
||||
return 2 // QDEL_HINT_IWILLGC
|
||||
|
||||
@@ -103,6 +103,7 @@
|
||||
mind_ref = null
|
||||
limb_data.Cut()
|
||||
organ_data.Cut()
|
||||
..()
|
||||
return QDEL_HINT_HARDDEL // For now at least there is no easy way to clear references to this in machines etc.
|
||||
|
||||
/datum/transhuman/body_record/proc/init_from_mob(var/mob/living/carbon/human/M, var/add_to_db = 0, var/ckeylock = 0, var/database_key)
|
||||
|
||||
@@ -106,6 +106,7 @@
|
||||
/datum/tgui_state/air_alarm_remote/Destroy()
|
||||
atmos_control = null
|
||||
air_alarm = null
|
||||
return ..()
|
||||
|
||||
/datum/tgui_module/atmos_control/ntos
|
||||
ntos = TRUE
|
||||
|
||||
Reference in New Issue
Block a user