-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move cl.WriteLoop() to attachClient() and call cl.Stop() in loadClien…
…ts() to update client.State. (#344) * Moving go cl.WriteLoop() out of NewClient() and placing it in server.attachClient(). * Call cl.Stop() to cancel the context, update cl.State with information such as disconnected time, and set the stopCause. * update README-CN.md --------- Co-authored-by: JB <[email protected]>
- Loading branch information
Showing
2 changed files
with
6 additions
and
3 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
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