mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-04 14:33:10 +00:00
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:
@@ -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]"
|
||||
|
||||
Reference in New Issue
Block a user