mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Ensure TimeoutInputStreams are closed.
This commit is contained in:
@@ -46,6 +46,7 @@ class JavaBluetoothTransportConnection
|
||||
protected void closeConnection(boolean exception) throws IOException {
|
||||
try {
|
||||
socket.close();
|
||||
in.close();
|
||||
} finally {
|
||||
connectionLimiter.connectionClosed(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user