mirror of https://github.com/mindoc-org/mindoc.git
更新golang版本
parent
f5737c6a73
commit
fc1fa662c4
|
@ -1,7 +1,7 @@
|
|||
language: go
|
||||
|
||||
go:
|
||||
- "1.10"
|
||||
- "1.10.3"
|
||||
|
||||
sudo: true
|
||||
install: false
|
||||
|
|
|
@ -3,7 +3,7 @@ clone_folder: c:\gopath\src\github.com\lifei6671\mindoc
|
|||
|
||||
environment:
|
||||
GOPATH: c:\gopath
|
||||
GOVERSION: "1.10"
|
||||
GOVERSION: "1.10.3"
|
||||
matrix:
|
||||
- tbs_arch: "x86"
|
||||
tbs_tools: "mingw"
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue