IDEMPIERE-3890 potential leak connection on standard window

This commit is contained in:
Carlos Ruiz 2019-02-12 16:56:20 +01:00
parent 3e95a30340
commit c5b7b7dfea
1 changed files with 4 additions and 4 deletions

View File

@ -3628,12 +3628,12 @@ public class GridTable extends AbstractTableModel
} // run } // run
private void doRun() { private void doRun() {
openResultSet();
if (m_rs == null)
return;
try try
{ {
openResultSet();
if (m_rs == null)
return;
while (m_rs.next()) while (m_rs.next())
{ {
if (Thread.interrupted()) if (Thread.interrupted())