mirror of
https://github.com/google/bumble.git
synced 2026-04-22 01:24:49 +00:00
wip (+2 squashed commits)
Squashed commits: [451a295] wip [ed7b5b6] wip (+1 squashed commit) Squashed commits: [9d938c8] wip wip wip
This commit is contained in:
@@ -56,13 +56,19 @@ class SocketClient(private val viewModel: AppViewModel, private val socket: Blue
|
||||
|
||||
thread {
|
||||
socketDataSource.receive()
|
||||
socket.close()
|
||||
sender.abort()
|
||||
}
|
||||
|
||||
Log.info("Startup delay: $DEFAULT_STARTUP_DELAY")
|
||||
Thread.sleep(DEFAULT_STARTUP_DELAY.toLong());
|
||||
Log.info("Starting to send")
|
||||
|
||||
sender.run()
|
||||
try {
|
||||
sender.run()
|
||||
} catch (error: IOException) {
|
||||
Log.info("run ended abruptly")
|
||||
}
|
||||
cleanup()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user