From 2f26973584fdd527be8720bf0ac0fc1884d0dae7 Mon Sep 17 00:00:00 2001 From: Zephyr <12817816+ZephyrTFA@users.noreply.github.com> Date: Fri, 23 Jun 2023 22:13:34 -0400 Subject: [PATCH] don't infinitely recurse on attempting to log after shutdown (#76229) --- 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))