ui: Refactoring

This commit is contained in:
Hajime Hoshi 2016-02-21 18:01:43 +09:00
parent 60a504543f
commit bae6d62067

View File

@ -75,10 +75,8 @@ var (
func Loop() {
<-workerCreated
for {
select {
case <-worker.WorkAvailable():
worker.DoWork()
}
<-worker.WorkAvailable()
worker.DoWork()
}
}