Use 'chan struct{}' instead of 'chan bool' for quit channel for compatibility, up to 0.1.3
This commit is contained in:
@@ -2,7 +2,7 @@ package grawt
|
||||
|
||||
type CloseHandler struct {
|
||||
waiter *Waiter
|
||||
Quit chan bool
|
||||
Quit chan struct{}
|
||||
active bool
|
||||
autoDone bool
|
||||
handlerFunc *func()
|
||||
|
||||
Reference in New Issue
Block a user