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

@@ -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));