console reconnect does not work #3958
this is not UI related, invoking right away
This commit is contained in:
parent
93be86260d
commit
b2ba9c1a0d
|
@ -82,14 +82,14 @@ public class MainFrame {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onConnectionEstablished() {
|
public void onConnectionEstablished() {
|
||||||
SwingUtilities.invokeLater(() -> {
|
new ConnectionWatchdog(Timeouts.CONNECTION_RESTART_DELAY, () -> {
|
||||||
new ConnectionWatchdog(Timeouts.CONNECTION_RESTART_DELAY, () -> {
|
linkManager.execute(() -> {
|
||||||
linkManager.execute(() -> {
|
log.info("ConnectionWatchdog.reconnectTimer restarting: " + Timeouts.CONNECTION_RESTART_DELAY);
|
||||||
log.info("ConnectionWatchdog.reconnectTimer restarting: " + Timeouts.CONNECTION_RESTART_DELAY);
|
linkManager.restart();
|
||||||
linkManager.restart();
|
});
|
||||||
});
|
}).start();
|
||||||
}).start();
|
|
||||||
|
|
||||||
|
SwingUtilities.invokeLater(() -> {
|
||||||
tabbedPane.settingsTab.showContent();
|
tabbedPane.settingsTab.showContent();
|
||||||
tabbedPane.logsManager.showContent();
|
tabbedPane.logsManager.showContent();
|
||||||
tabbedPane.fuelTunePane.showContent();
|
tabbedPane.fuelTunePane.showContent();
|
||||||
|
|
Loading…
Reference in New Issue