Skip to content

Commit

Permalink
Free performance data when ExportObject is released (#5480)
Browse files Browse the repository at this point in the history
Cuts leaked memory from released objects by around 50%.

Partial #5479
  • Loading branch information
niloc132 authored and stanbrub committed May 17, 2024
1 parent e29287a commit 1c215c2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1141,6 +1141,7 @@ protected synchronized void destroy() {
if (!(caughtException instanceof StatusRuntimeException)) {
caughtException = null;
}
queryPerformanceRecorder = null;
}

/**
Expand Down

0 comments on commit 1c215c2

Please sign in to comment.