Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend FuncRunner to include ExecutionObserver list callbacks
Summary: Currently we have following code: ``` if (res != 0 && !queue_->empty()) { ExecutionObserverScopeGuard guard(&executionObserverList_, queue_.get()); queue_->execute(); } ``` Which is wrong because queue_->execute() will execute all the callbacks inline, instead ExecutionObserver should be applied to individual callbacks. ot suggested to add those changes to FuncRunner. Reviewed By: yfeldblum, ot Differential Revision: D53736878 fbshipit-source-id: 44d7e83daad06eee262a877afc0a0f11ba4f2280
- Loading branch information