diff --git a/src/ox/event/signal.hpp b/src/ox/event/signal.hpp index dee28494d..ab1183416 100644 --- a/src/ox/event/signal.hpp +++ b/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]]