fix(Net): Dispatch ErrorNotification to socket-specific handler only

This commit is contained in:
SmileGobo
2025-12-17 18:52:47 +01:00
committed by Matej Kenda
parent 64e759cf98
commit abfd684c03

View File

@@ -334,7 +334,7 @@ inline bool SocketReactor::has(const Socket& socket) const
inline void SocketReactor::onError(const Socket& socket, int code, const std::string& description)
{
dispatch(new ErrorNotification(this, socket, code, description));
dispatch(socket, new ErrorNotification(this, socket, code, description));
}