while (!currentCallbacks.empty()) {
LoopCallback* callback = ¤tCallbacks.front();
currentCallbacks.pop_front();
- folly::RequestContextScopeGuard rctx(callback->context_);
+ folly::RequestContextScopeGuard rctx(std::move(callback->context_));
callback->runLoopCallback();
}