Added missing close() call in TransferThread.

This commit is contained in:
Felix Ableitner 2015-08-26 00:24:04 +02:00
parent 0eab785e96
commit 5189a459ba

View file

@ -56,6 +56,7 @@ class TransferThread(device: Device, socket: BluetoothSocket, handler: Bluetooth
} catch {
case e @ (_: ReadMessageException | _: IOException) =>
Log.w(Tag, "Failed to read incoming message", e)
close()
return
}
}