Fixes timers not GCing

This commit is contained in:
Kyle Spier-Swenson
2017-01-21 20:00:46 -08:00
committed by GitHub
parent 7a48f76d83
commit 32c8e178bf
+3 -2
View File
@@ -284,7 +284,8 @@ var/datum/subsystem/timer/SStimer
prev.next = null
if (next && next.prev == src)
next.prev = null
next = null
prev = null
return QDEL_HINT_IWILLGC
proc/addtimer(datum/callback/callback, wait, flags)
@@ -335,4 +336,4 @@ proc/addtimer(datum/callback/callback, wait, flags)
#undef BUCKET_LEN
#undef BUCKET_POS
#undef BUCKET_POS