DCS Continued (#29324)

Adds's documentation to the DCS system, refactors to improve the caller API
This commit is contained in:
Jordan Brown
2017-07-25 09:44:19 +12:00
committed by oranges
parent ab940008b8
commit 0321e6bd85
3 changed files with 146 additions and 27 deletions
+7 -1
View File
@@ -247,7 +247,13 @@ SUBSYSTEM_DEF(garbage)
if (timer.spent)
continue
qdel(timer)
QDEL_LIST(datum_components)
var/list/dc = datum_components
for(var/I in dc)
var/datum/component/C = I
C._RemoveNoSignal()
qdel(C)
if(dc)
dc.Cut()
return QDEL_HINT_QUEUE
/datum/var/gc_destroyed //Time when this object was destroyed.