Page MenuHomePhabricator

[avalanche] Restrict scope of cs_stakingRewards lock during cleanup
ClosedPublic

Authored by roqqit on Dec 11 2024, 17:48.

Details

Reviewers
Fabien
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Commits
rABC44da17657e7c: [avalanche] Restrict scope of cs_stakingRewards lock during cleanup
Summary

Release the lock when we're done with it. This helps avoid lock order issues.

Test Plan
cmake -GNinja .. -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Debug
ninja check

Diff Detail

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