we crash if we try to SPDLOG in the destructors

This commit is contained in:
briaguya 2024-02-18 23:14:21 -05:00
parent d0b09743b9
commit 327d305e00

View File

@ -36,7 +36,8 @@ static ImVec4 color2Vec(Color_RGBA8 color) {
} }
InputViewer::~InputViewer() { 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, void InputViewer::RenderButton(std::string btnTexture, std::string btnOutlineTexture, int state, ImVec2 size,
@ -354,7 +355,8 @@ void InputViewer::DrawElement() {
} }
InputViewerSettingsWindow::~InputViewerSettingsWindow() { InputViewerSettingsWindow::~InputViewerSettingsWindow() {
SPDLOG_TRACE("destruct input viewer settings window"); //
// SPDLOG_TRACE("destruct input viewer settings window");
} }
void InputViewerSettingsWindow::DrawElement() { void InputViewerSettingsWindow::DrawElement() {