Tribler / tribler

Privacy enhanced BitTorrent client with P2P content discovery
https://www.tribler.org
GNU General Public License v3.0
4.74k stars 445 forks source link

Modify `future_setter` to not keep an alert object #7940

Closed drew2a closed 3 months ago

drew2a commented 3 months ago

This PR addresses potentially dangerous behavior where an alert object is stored in the future, which could exceed its time to live since it is valid only until the next pop_alerts call.

Refs:

Related to