mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +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:
@@ -157,7 +157,6 @@ class BluetoothPlugin implements DuplexPlugin {
|
||||
} catch(IOException e) {
|
||||
// This is expected when the socket is closed
|
||||
if(LOG.isLoggable(INFO)) LOG.info(e.toString());
|
||||
tryToClose(ss);
|
||||
return;
|
||||
}
|
||||
callback.incomingConnectionCreated(wrapSocket(s));
|
||||
|
||||
Reference in New Issue
Block a user