From eb498ca5572d9d37c50970863b29bd5d867b7110 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Tue, 27 Aug 2024 19:58:14 -0500 Subject: [PATCH] [ox/event] Comment out Signal disconnect warning --- deps/ox/src/ox/event/signal.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/ox/src/ox/event/signal.hpp b/deps/ox/src/ox/event/signal.hpp index ab118341..fe1c2ab0 100644 --- a/deps/ox/src/ox/event/signal.hpp +++ b/deps/ox/src/ox/event/signal.hpp @@ -264,8 +264,8 @@ class Signal { } void cleanup(Signal *signal) noexcept final { - auto err = m_receiver->destruction.disconnectSignal(signal); - oxErrorf("{}", toStr(err)); + std::ignore = m_receiver->destruction.disconnectSignal(signal); + //oxErrorf("{}", toStr(err)); //oxAssert(err, "Signal could not notify receiver that it is being destroyed. Destruction of receiver will cause use-after-free."); }