Skip to content

user : tls models exit gracefully.#165

Merged
cfc4n merged 1 commit into
masterfrom
tls-models-exit-gracefully
Aug 12, 2022
Merged

user : tls models exit gracefully.#165
cfc4n merged 1 commit into
masterfrom
tls-models-exit-gracefully

Conversation

@cfc4n
Copy link
Copy Markdown
Member

@cfc4n cfc4n commented Aug 8, 2022

fixes : #164
Signed-off-by: CFC4N cfc4n.cs@gmail.com

Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
@cfc4n cfc4n linked an issue Aug 8, 2022 that may be closed by this pull request
@cfc4n cfc4n added the 🐞 bug Something isn't working label Aug 8, 2022
Comment thread user/imodule.go
select {
case err := <-errChan:
return err
go func() {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe simplify this as

go func() {
    for err := <- errChan {
    }
}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good suggestion..

@cfc4n cfc4n merged commit f43cd65 into master Aug 12, 2022
@cfc4n cfc4n deleted the tls-models-exit-gracefully branch August 12, 2022 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐞 bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tls models exit gracefully

2 participants