-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gui: Make webserver respect the context.
This modifies the webserver creation logic to respect the context so it is shutdown in an orderly fashion when the context is canceled. It also updates the gui Run method to add the goroutine to the waitgroup now that it will be shutdown as expected.
- Loading branch information
Showing
1 changed file
with
59 additions
and
50 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