Skip to content

Commit a97bd4b

Browse files
committed
fix ls memory leak
1 parent 98d88ea commit a97bd4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/prominic/groovyls/compiler/ast/ASTNodeVisitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ protected SourceUnit getSourceUnit() {
6767

6868
@Override
6969
public int hashCode(ASTNode o) {
70-
return o.hashCode();
70+
return System.identityHashCode(o);
7171
}
7272

7373
@Override

0 commit comments

Comments
 (0)