Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
haoqu.ma
/
gotty
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 56e9b891
authored
Aug 20, 2017
by
Iwasaki Yudai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Log force closing
1 parent
91ee7786
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
main.go
main.go
View file @
56e9b89
...
...
@@ -136,6 +136,7 @@ func waitSignals(errs chan error, cancel context.CancelFunc, gracefullCancel con
case
err
:=
<-
errs
:
return
err
case
<-
sigChan
:
fmt
.
Println
(
"Force closing..."
)
cancel
()
return
<-
errs
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment