fixed signal method
This commit is contained in:
parent
939189448e
commit
bc80b2f853
@ -70,5 +70,5 @@ func main() {
|
||||
}
|
||||
go w.Work()
|
||||
signal.Bind(os.Interrupt, func() uint { return signal.BreakExit })
|
||||
signal.Loop()
|
||||
signal.Wait()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user