-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Schedule WebSocket disconnection reporting
- Disconnection events are scheduled to occur only after the underlying 'NWConnection' has been fully torn down. N.B: This should prevent a race condition that could occur where a reconnection attempt made by calling `connect()` immediately after receiving a `webSocketDidDisconnect(…)` callback would fail as the `connection` was not yet torn down.
- Loading branch information
Daniel Browne
committed
Dec 14, 2020
1 parent
ae44a3a
commit 45eafe2
Showing
1 changed file
with
32 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters