feat: fix Done lock; bump: v0.1.9
This commit is contained in:
@@ -1,11 +1,17 @@
|
||||
package grawt
|
||||
|
||||
import (
|
||||
"sync"
|
||||
)
|
||||
|
||||
type CloseHandler struct {
|
||||
waiter *Waiter
|
||||
Quit chan struct{}
|
||||
active bool
|
||||
autoDone bool
|
||||
wgDone bool
|
||||
handlerFunc *func()
|
||||
mu *sync.Mutex
|
||||
}
|
||||
|
||||
func (ch *CloseHandler) Halt(err error) {
|
||||
|
||||
Reference in New Issue
Block a user