Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[lti] Reset all flags properly with potential exceptions considered
Summary: I found that sometimes we are not correctly reseting synthesis mode flag back to false, which is caused by not handling exceptions and rethrow it after we reset the flag. I still haven't figured out why we are throwing exceptions during synthesis mode that are not caught lower in the stack, but it's always better to be safe. Since I'm already here, I also made similar changes for all other flags. Changelog: [internal] Reviewed By: mvitousek Differential Revision: D41361086 fbshipit-source-id: 6fa4b9b2dd4b26a30c41196c1f82b9f7773432bc
- Loading branch information
1 parent
59cbc6a
commit f05653c
Showing
1 changed file
with
8 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters