Package Semaphore: Fix issue #182

This commit is contained in:
Nicolas JUHEL
2024-05-28 16:00:33 +02:00
parent 00dee5e6e6
commit 1ed0b00db2

View File

@@ -37,6 +37,7 @@ func (o *bar) NewWorkerTry() bool {
}
func (o *bar) DeferWorker() {
o.Inc(1)
o.s.DeferWorker()
}