[ox/event] Comment out error logging for a long ignored error
All checks were successful
Build / build (push) Successful in 2m38s
All checks were successful
Build / build (push) Successful in 2m38s
This commit is contained in:
parent
094d159855
commit
531d930985
8
deps/ox/src/ox/event/signal.hpp
vendored
8
deps/ox/src/ox/event/signal.hpp
vendored
@ -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]]
|
||||||
|
Loading…
Reference in New Issue
Block a user