Check that server sockets are closed as expected.

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

View File

@@ -154,7 +154,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();