13
0

allow explicit "with-roll" argument to a locate to override Session::should_roll_after_locate()

This commit is contained in:
Paul Davis 2019-11-02 16:11:10 -06:00
parent 5241cdcf03
commit eee8eb1005

View File

@ -400,7 +400,7 @@ TransportFSM::start_locate_while_stopped (Event const & l) const
assert (l.type == Locate); assert (l.type == Locate);
DEBUG_TRACE (DEBUG::TFSMEvents, "start_locate_while_stopped\n"); DEBUG_TRACE (DEBUG::TFSMEvents, "start_locate_while_stopped\n");
current_roll_after_locate_status = api->should_roll_after_locate(); current_roll_after_locate_status = l.with_roll ? true : api->should_roll_after_locate();
api->locate (l.target, current_roll_after_locate_status.get(), l.with_flush, l.with_loop, l.force); api->locate (l.target, current_roll_after_locate_status.get(), l.with_flush, l.with_loop, l.force);
} }