Remove the datum pool (#2873)

Removes the datum pool.

New-qdel is faster than pooling, and we didn't use it anyways.
This commit is contained in:
Lohikar
2017-06-30 05:10:14 -05:00
committed by skull132
parent cf7359e03e
commit 27251ee9ee
9 changed files with 1 additions and 196 deletions

View File

@@ -215,21 +215,6 @@ var/datum/controller/subsystem/garbage_collector/SSgarbage
#ifdef TESTING
D.find_references()
#endif
if (QDEL_HINT_POOL)
if (!force)
D.gcDestroyed = null
returnToPool(D)
return
// Returning POOL after being told to force destroy
// indicates the objects Destroy() does not respect force
if(!SSgarbage.noforcerespect["[D.type]"])
SSgarbage.noforcerespect["[D.type]"] = "[D.type]"
testing("WARNING: [D.type] has been force deleted, but is \
returning an immortal QDEL_HINT, indicating it does \
not respect the force flag for qdel(). It has been \
placed in the queue, further instances of this type \
will also be queued.")
SSgarbage.QueueForQueuing(D)
else
if(!SSgarbage.noqdelhint["[D.type]"])
SSgarbage.noqdelhint["[D.type]"] = "[D.type]"