1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-26 01:04:06 +08:00
This commit is contained in:
shaoying 2019-07-11 22:53:02 +08:00
commit 45e22f0eb4
2 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,5 @@
package cli package cli
var version = struct { var version = struct {
time string time string
host string host string

View File

@ -81,6 +81,7 @@ func Process(m *ctx.Message, file string, cb func(*ctx.Message, *http.Client, []
go func(msg *ctx.Message) { go func(msg *ctx.Message) {
wg.Add(1) wg.Add(1)
defer wg.Done() defer wg.Done()
for { for {
word, ok := <-input word, ok := <-input
if !ok { if !ok {