so suddenly ServerTest is less reliable?

race conditions are the best bugs
This commit is contained in:
rusefi 2020-07-19 01:19:09 -04:00
parent 879fdecd67
commit efae2d0509
1 changed files with 3 additions and 2 deletions

View File

@ -159,9 +159,10 @@ public class Backend implements Closeable {
try {
controllerConnectionState.requestControllerInfo();
register(controllerConnectionState);
controllerConnectionState.getOutputs();
register(controllerConnectionState);
} catch (IOException e) {
close(controllerConnectionState);
}