Commit 086a1db2 authored by Vladimir Barsukov's avatar Vladimir Barsukov
Browse files

fix

parent 42ac34aa
......@@ -117,6 +117,13 @@ func (q *ZQ) AddJob(a any) error {
return nil
}
func (q *ZQ) AddJobForce(a any) error {
q.ZQuit.Inc()
q.jobs <- a
return nil
}
func (q *ZQ) Wait() {
q.ZQuit.Wait()
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment