[ox/event] Comment out error logging for a long ignored error

(synced from 531d930985)
This commit is contained in:
2024-06-30 00:42:45 -05:00
parent a9f2664f89
commit b41c918cf1
+4 -4
View File
@@ -83,10 +83,10 @@ class Signal {
} }
void cleanup(Signal *signal) noexcept final { void cleanup(Signal *signal) noexcept final {
auto err = m_receiver->destruction.disconnectSignal(signal); std::ignore = m_receiver->destruction.disconnectSignal(signal);
if (err) { //if (err) {
oxErrorf("Signal could not notify receiver that it is being destroyed. Destruction of receiver will cause use-after-free. ({})", toStr(err)); // oxErrorf("Signal could not notify receiver that it is being destroyed. Destruction of receiver will cause use-after-free. ({})", toStr(err));
} //}
} }
[[nodiscard]] [[nodiscard]]