Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handling FaissException in few destructors of ResultHandler.h (#3311)
Summary: Pull Request resolved: #3311 **Context** [Issue 2948](#2948) highlights potential issue of calling allocation on result handler which may throw exception but it is not handled. **In this diff**, I observed two calls where we may potentially call allocation in ResultHandler.h and handled FaissException. 1/ partial result when finalized in ~SingleResultHandler 2/ partial result when merged in ~RangeSearchBlockResultHandler Reviewed By: junjieqi Differential Revision: D55258213 fbshipit-source-id: 259be472e73619b2fcb0ea480d6d3486affeafdf
- Loading branch information