From 531d930985438ed64347d2d444c75c1d8659146c Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 30 Jun 2024 00:42:45 -0500 Subject: [PATCH] [ox/event] Comment out error logging for a long ignored error --- deps/ox/src/ox/event/signal.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deps/ox/src/ox/event/signal.hpp b/deps/ox/src/ox/event/signal.hpp index dee28494..ab118341 100644 --- a/deps/ox/src/ox/event/signal.hpp +++ b/deps/ox/src/ox/event/signal.hpp @@ -83,10 +83,10 @@ class Signal { } void cleanup(Signal *signal) noexcept final { - auto err = m_receiver->destruction.disconnectSignal(signal); - if (err) { - oxErrorf("Signal could not notify receiver that it is being destroyed. Destruction of receiver will cause use-after-free. ({})", toStr(err)); - } + std::ignore = m_receiver->destruction.disconnectSignal(signal); + //if (err) { + // oxErrorf("Signal could not notify receiver that it is being destroyed. Destruction of receiver will cause use-after-free. ({})", toStr(err)); + //} } [[nodiscard]]