From 327d305e00ab9cb05ca93c5566a06ae9a345d329 Mon Sep 17 00:00:00 2001 From: briaguya <70942617+briaguya-ai@users.noreply.github.com> Date: Sun, 18 Feb 2024 23:14:21 -0500 Subject: [PATCH] we crash if we try to SPDLOG in the destructors --- soh/soh/Enhancements/controls/InputViewer.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/soh/soh/Enhancements/controls/InputViewer.cpp b/soh/soh/Enhancements/controls/InputViewer.cpp index 6b25589c6..d7e0b4310 100644 --- a/soh/soh/Enhancements/controls/InputViewer.cpp +++ b/soh/soh/Enhancements/controls/InputViewer.cpp @@ -36,7 +36,8 @@ static ImVec4 color2Vec(Color_RGBA8 color) { } InputViewer::~InputViewer() { - SPDLOG_TRACE("destruct input viewer"); + // + // SPDLOG_TRACE("destruct input viewer"); } void InputViewer::RenderButton(std::string btnTexture, std::string btnOutlineTexture, int state, ImVec2 size, @@ -354,7 +355,8 @@ void InputViewer::DrawElement() { } InputViewerSettingsWindow::~InputViewerSettingsWindow() { - SPDLOG_TRACE("destruct input viewer settings window"); + // + // SPDLOG_TRACE("destruct input viewer settings window"); } void InputViewerSettingsWindow::DrawElement() {