From bb5ef264c10ea60ed09ba9ada793712610ac76d1 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sat, 1 Jul 2023 22:17:59 +0200 Subject: [PATCH] [MIRROR] don't infinitely recurse on attempting to log after shutdown [MDB IGNORE] (#22026) * don't infinitely recurse on attempting to log after shutdown (#76229) * don't infinitely recurse on attempting to log after shutdown --------- Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com> Co-authored-by: lessthanthree <83487515+lessthnthree@users.noreply.github.com> --- code/modules/logging/log_holder.dm | 3 --- 1 file changed, 3 deletions(-) diff --git a/code/modules/logging/log_holder.dm b/code/modules/logging/log_holder.dm index a60bbc91b2e..76b0683b9b8 100644 --- a/code/modules/logging/log_holder.dm +++ b/code/modules/logging/log_holder.dm @@ -260,9 +260,6 @@ GENERAL_PROTECT_DATUM(/datum/log_holder) /// the data list is optional and will be recursively json serialized. /datum/log_holder/proc/Log(category, message, list/data) // This is Log because log is a byond internal proc - if(shutdown) - stack_trace("Performing logging after shutdown! This might not be functional in the future!") - // but for right now it's fine // do not include the message because these go into the runtime log and we might be secret! if(!istext(message))