fvbock / endless

Zero downtime restarts for go servers (Drop in replacement for http.ListenAndServe)
MIT License
4.05k stars 342 forks source link

[fix]: extra wg.Done run before running wg.Wait #17

Closed daizong closed 9 years ago

daizong commented 9 years ago

Call runtime.Gosched() to allow waitgroup.Wait to run when on hammerTime.

fvbock commented 9 years ago

thanks!