Skip to content

Commit

Permalink
Update BackendEntryIterator.java
Browse files Browse the repository at this point in the history
Fix bug: gremlin语句执行超时 将导致内存泄漏statement未释放

fix apache#1639
  • Loading branch information
z7658329 authored Nov 11, 2021
1 parent fea140e commit 2d0a0e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ protected final boolean reachLimit(long count) {
} catch (Throwable e) {
try {
this.close();
} catch (Exception ex) {
} catch (Throwable ex) {
LOG.warn("Failed to close backend entry iterator for interrupted query", ex);
}
throw e;
Expand Down

0 comments on commit 2d0a0e9

Please sign in to comment.