mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 11:19:04 +01:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user