Centipede Fix PeriodicAction: Nudge followed by stop should still run action
Overhauled the multi-threaded interaction between nudging and stopping. The code is simpler and does what's expected now. Tested by a new unit test: the test was very flaky without the fix and 100% deterministic with the fix.
Centipede Fix
PeriodicAction
: Nudge followed by stop should still run actionOverhauled the multi-threaded interaction between nudging and stopping. The code is simpler and does what's expected now. Tested by a new unit test: the test was very flaky without the fix and 100% deterministic with the fix.