Revert "UOCL-285: payment screen hanging (#42)"
This reverts commit 0c6b84dd5f.
This commit is contained in:
@@ -43,8 +43,6 @@ 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;
|
||||
|
||||
/**
|
||||
@@ -2723,7 +2721,6 @@ 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
|
||||
@@ -2734,8 +2731,7 @@ public final class Transfer extends JPanel implements JPanelView {
|
||||
}
|
||||
};
|
||||
|
||||
//worker.execute();
|
||||
customExecutor.submit(worker);
|
||||
worker.execute();
|
||||
|
||||
}
|
||||
System.gc();
|
||||
|
||||
Reference in New Issue
Block a user