Don't try to close server sockets twice.

This may have been the cause of bug #69. Removed the wait-for-shutdown
code in DroidtoothPlugin that was added to attempt to avoid that bug.
This commit is contained in:
akwizgran
2014-05-09 18:16:10 +01:00
parent c86525c1d4
commit eaff042601
4 changed files with 2 additions and 38 deletions

View File

@@ -139,7 +139,6 @@ abstract class TcpPlugin implements DuplexPlugin {
} catch(IOException e) {
// This is expected when the socket is closed
if(LOG.isLoggable(INFO)) LOG.info(e.toString());
tryToClose(socket);
return;
}
if(LOG.isLoggable(INFO))