mirror of
https://github.com/wownero/wownero.git
synced 2026-11-14 20:33:54 +01:00
foreach_connection() can race with connection destruction while the protocol handler remains in the raw-pointer map. Use the non-throwing weak_from_this().lock() in add_ref() and treat expired connections as unavailable. This is an interim mitigation pending the broader connection lifetime fix in PR 7345.
epee - is a small library of helpers, wrappers, tools and so on, used to make my life easier.