diff --git a/example/worker/worker.go b/example/worker/worker.go index 035a5f8..3b0ddad 100644 --- a/example/worker/worker.go +++ b/example/worker/worker.go @@ -70,5 +70,5 @@ func main() { } go w.Work() signal.Bind(os.Interrupt, func() uint { return signal.BreakExit }) - signal.Loop() + signal.Wait() }