folly::ThreadedRepeatingFunctionRunner::stop

Ideally, you will call this before initiating the destruction of the host object. Otherwise, this should be the first thing in the destruction sequence. If it comes any later, worker threads may access class state that had already been destroyed.

Synopsis

Declared in <folly/executors/ThreadedRepeatingFunctionRunner.h>

void
stop();