Page MenuHomePhabricator

scheduler: Replace stop(true) with StopWhenDrained()
ClosedPublic

Authored by PiRK on Aug 26 2021, 14:54.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Commits
rABC4526add5399a: scheduler: Replace stop(true) with StopWhenDrained()
Summary

This helps understanding the code at the call site without having to
look up the name of the argument or the default value.

This is a backport of core#19090 [5/6]
https://github.com/bitcoin/bitcoin/pull/19090/commits/fac43f9889f500bcb62d830c030dec42fe791031

Test Plan

ninja all check-all

Diff Detail

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