Console just quits fix #3953

This commit is contained in:
rusefillc 2022-02-22 15:35:39 -05:00
parent 38d7f12b30
commit 3021efbc89
1 changed files with 17 additions and 14 deletions

View File

@ -82,6 +82,7 @@ public class MainFrame {
@Override
public void onConnectionEstablished() {
SwingUtilities.invokeLater(() -> {
new ConnectionWatchdog(Timeouts.CONNECTION_RESTART_DELAY, () -> {
linkManager.execute(() -> {
log.info("ConnectionWatchdog.reconnectTimer restarting: " + Timeouts.CONNECTION_RESTART_DELAY);
@ -97,6 +98,8 @@ public class MainFrame {
* before launching new instance
*/
new BinaryProtocolServer().start(linkManager);
});
}
});