📝Fix the type error

This commit is contained in:
Andy Pan 2019-07-26 16:11:26 +08:00 committed by GitHub
parent 9eb91a4ae0
commit f447bf104a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ func (p *PoolWithFunc) periodicallyPurge() {
heartbeat := time.NewTicker(p.expiryDuration)
defer heartbeat.Stop()
var expiredWorkers []*Worker
var expiredWorkers []*WorkerWithFunc
for range heartbeat.C {
if CLOSED == atomic.LoadInt32(&p.release) {
break