-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Actually fix the race and panics on shutdown
2458df9 was a move in the right direction, but it wasn't enough. We need to do same thing for the conn event listers too. Basically the UI task relies on the UI event channel being dropped on the sender side. That happens when we do C-c, and UI task returns. Similarly connection tasks now relies on the conn chans being dropped. Clients now return after sending Quit message (same as before), and we no longer need a Closed message to send the connection event listener tasks.
- Loading branch information
Showing
3 changed files
with
5 additions
and
24 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
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