feat: fix Done lock; bump: v0.1.9

This commit is contained in:
jar3b
2020-11-19 16:05:45 +03:00
parent b2c16b7750
commit 7096388647
2 changed files with 17 additions and 3 deletions

View File

@@ -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) {