UOCL-285: payment screen hanging (#42)

* UOCL-285: payment screen hanging

* UOCL-290: xls exports fix

* 5.3.2 release
This commit is contained in:
hugh-unicenta
2025-03-07 10:56:03 +00:00
committed by GitHub
parent a038cc2282
commit 0c6b84dd5f
9 changed files with 62 additions and 26 deletions
@@ -43,6 +43,8 @@ import java.sql.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.regex.Matcher;
/**
@@ -2721,6 +2723,7 @@ public final class Transfer extends JPanel implements JPanelView {
JOptionPane.YES_NO_OPTION,
JOptionPane.QUESTION_MESSAGE) == JOptionPane.YES_OPTION) {
ExecutorService customExecutor = Executors.newCachedThreadPool();
SwingWorker<Void, Void> worker = new SwingWorker<Void, Void>() {
@Override
@@ -2731,7 +2734,8 @@ public final class Transfer extends JPanel implements JPanelView {
}
};
worker.execute();
//worker.execute();
customExecutor.submit(worker);
}
System.gc();