Page MenuHomePhabricator

[avalanche] Hold the peer manager lock during the peer cleanup
ClosedPublic

Authored by Fabien on Jul 11 2022, 14:10.

Details

Summary

The cleanup task is accessing and modifying the peer structure, so it needs to hold the cs_peerManager lock.

Test Plan

With Clang and Debug:

ninja all check-all

With D11735:

./contrib/teamcity/build-configurations.py build-tsan

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable