-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use channels to clean up AuthorizationCodeHandler
This change makes AuthorizationCodeHandler reentrant and prevents panics that could occur if two requests occurred before the server was closed. It also makes the API nicer.
- Loading branch information
1 parent
384ffc9
commit ed49529
Showing
2 changed files
with
53 additions
and
96 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