SerialExecutor correctly set RequestContext
Summary: SerialExecutor can not rely on parent to save RequestContext for him as it is not guaranteed that an enqueued function will be executed from the parent callback that was scheduled at the same time. This diff captures RequestContext in a lambda and sets it correctly Reviewed By: shixiao Differential Revision: D15381223 fbshipit-source-id: 9b3ab1f96e57eb5e697efb52105d80c2899a03e7
Showing
Please register or sign in to comment