[ox/event] Comment out error logging for a long ignored error
All checks were successful
Build / build (push) Successful in 2m38s

This commit is contained in:
Gary Talent 2024-06-30 00:42:45 -05:00
parent 094d159855
commit 531d930985

View File

@ -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]]