Files
nearby/internal/platform
Juliet Levesque 6f69e97421 [Nearby Connections] Stop 3 AttemptsToConnect over BluetoothClassic for CancellationFlag
CancellationFlags will be used to prevent crashes during the shutdown of Nearby Connections from pending tasks taking too long during the shutdown period. By using CancellationFlags, we can prevent the retries occuring during the Shutdown by short-circuiting an in flight AttemptToConnect, and checking for Cancellation before retries.

Because BluetoothClassic does not use futures, the short circuit only requires a check after ConnectToService, and returning an empty
socket.

PiperOrigin-RevId: 539755631
2023-06-12 14:05:36 -07:00
..
2023-06-01 15:45:21 -07:00
2023-01-23 16:04:21 -08:00
2023-03-15 17:24:11 -07:00
2022-02-02 11:56:39 -08:00
2023-03-22 17:45:50 -07:00
2023-03-22 17:45:50 -07:00
2023-03-22 17:45:50 -07:00
2022-02-02 11:56:39 -08:00
2023-01-11 15:19:33 -08:00
2022-02-02 11:56:39 -08:00
2023-05-24 10:47:06 -07:00
2023-05-24 10:47:06 -07:00