Let the limiter know whether connections closed cleanly.

This commit is contained in:
akwizgran
2020-05-06 14:59:36 +01:00
parent bda3b2100a
commit bd86ff2d5f
5 changed files with 12 additions and 9 deletions

View File

@@ -50,7 +50,7 @@ class AndroidBluetoothTransportConnection
try {
socket.close();
} finally {
connectionLimiter.connectionClosed(this);
connectionLimiter.connectionClosed(this, exception);
}
}
}