From 32c8e178bfb1e0550d7b13aff7e2d04b9d39fd82 Mon Sep 17 00:00:00 2001 From: Kyle Spier-Swenson Date: Sat, 21 Jan 2017 20:00:46 -0800 Subject: [PATCH] Fixes timers not GCing --- code/controllers/subsystem/timer.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/controllers/subsystem/timer.dm b/code/controllers/subsystem/timer.dm index 6d7ad339d5f..2bc6c40cfe8 100644 --- a/code/controllers/subsystem/timer.dm +++ b/code/controllers/subsystem/timer.dm @@ -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 \ No newline at end of file +#undef BUCKET_POS