This commit is contained in:
parent
d5739815b4
commit
d35a6e8d2d
|
@ -75,7 +75,7 @@ public class LocalApplicationProxy implements Closeable {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isTimeForApplicationToConnect(context, start) && relayCommandCounter.get() < 4) {
|
if (isTimeForApplicationToConnect(context, start) && relayCommandCounter.get() < 4) {
|
||||||
// we should not keep controller blocker, time to auto-disconnect
|
// we should not keep controller blocked since we are not connecting application, time to auto-disconnect
|
||||||
authenticatorToProxyStream.close();
|
authenticatorToProxyStream.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
package com.rusefi.proxy;
|
||||||
|
|
||||||
|
import org.junit.Test;
|
||||||
|
|
||||||
|
public class NetworkConnectorTest {
|
||||||
|
@Test
|
||||||
|
public void testReconnect() {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue