mirror of
https://github.com/nabbar/golib.git
synced 2025-12-24 11:51:02 +08:00
Package Semaphore: Fix issue #182
This commit is contained in:
@@ -37,6 +37,7 @@ func (o *bar) NewWorkerTry() bool {
|
||||
}
|
||||
|
||||
func (o *bar) DeferWorker() {
|
||||
o.Inc(1)
|
||||
o.s.DeferWorker()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user