Skip to content

Commit

Permalink
Fix small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
XuPengfei-1020 committed Dec 12, 2023
1 parent af5d232 commit b63be5b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,9 @@ protected HeapDumpAnalyzer buildAnalyzer(Path target, Map<String, String> option

@Override
protected void cachedAnalyzerRemoved(HeapDumpAnalyzer heapDumpAnalyzer) {
heapDumpAnalyzer.dispose();
if (heapDumpAnalyzer != null) {
heapDumpAnalyzer.dispose();
}
}

private File indexFile(Path target) {
Expand Down

0 comments on commit b63be5b

Please sign in to comment.