From c5b7b7dfea1dede19561aa54f6041b267b435131 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Tue, 12 Feb 2019 16:56:20 +0100 Subject: [PATCH] IDEMPIERE-3890 potential leak connection on standard window --- org.adempiere.base/src/org/compiere/model/GridTable.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/org.adempiere.base/src/org/compiere/model/GridTable.java b/org.adempiere.base/src/org/compiere/model/GridTable.java index cc11e1a1e8..46b1314b1f 100644 --- a/org.adempiere.base/src/org/compiere/model/GridTable.java +++ b/org.adempiere.base/src/org/compiere/model/GridTable.java @@ -3628,12 +3628,12 @@ public class GridTable extends AbstractTableModel } // run private void doRun() { - openResultSet(); - if (m_rs == null) - return; - try { + openResultSet(); + if (m_rs == null) + return; + while (m_rs.next()) { if (Thread.interrupted())