mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-10-27 04:09:05 +08:00
更新golang版本
This commit is contained in:
@@ -76,10 +76,10 @@ func (pool *ChannelPool) Start() {
|
||||
if limit {
|
||||
pool.wait.Add(1)
|
||||
go func(actual *entry) {
|
||||
defer pool.wait.Done()
|
||||
defer func() {
|
||||
pool.cache.Delete(actual.key)
|
||||
pool.limit <- true
|
||||
pool.wait.Done()
|
||||
}()
|
||||
|
||||
actual.handler()
|
||||
|
||||
Reference in New Issue
Block a user