Page MenuHomePhabricator

[avalanche] Restrict scope of cs_stakingRewards lock during cleanup
Needs ReviewPublic

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

Details

Reviewers
None
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
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