forked from prestodb/presto
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix memory leak in MemoryAwareQueryExecution
Previously, we would add a listener for state change *on* every state change. This could also cause listeners to be added in a loop in between failed state transitions. Fixes prestodb#10812.
- Loading branch information
1 parent
3b50e03
commit 4cb93d5
Showing
2 changed files
with
18 additions
and
9 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
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