Check that server sockets are closed as expected.

This commit is contained in:
akwizgran
2020-01-15 17:40:20 +00:00
parent b2a1ea84f8
commit afc85cdf52
4 changed files with 1 additions and 7 deletions

View File

@@ -147,7 +147,7 @@ class AndroidLanTcpPlugin extends LanTcpPlugin implements EventListener {
} else if (addrs.isEmpty()) {
LOG.info("Not connected to wifi");
socketFactory = SocketFactory.getDefault();
// TODO: Check that socket was closed when interface went down
// Server socket was closed when wifi interface went down
} else {
LOG.info("Connected to wifi");
socketFactory = getSocketFactory();