-
-
Notifications
You must be signed in to change notification settings - Fork 16k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't add results to finalResults once promise was notified (#13196)
Motivation: We need to ensure we release the results if we dont end up transfering the ownership. In some cases we could have ended up to adding more results to the List without be sure that these will ever be released at all. Modifications: Only add results as long as we did not notify yet. Otherwise release these. Result: No more memory leak possible even if promise is already completed
- Loading branch information
1 parent
c12e34a
commit 6198dab
Showing
1 changed file
with
22 additions
and
10 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