更新golang版本

pull/358/head
lifei6671 2018-07-11 10:18:34 +08:00
parent f5737c6a73
commit fc1fa662c4
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
language: go
go:
- "1.10"
- "1.10.3"
sudo: true
install: false

View File

@ -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"

View File

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