This commit is contained in:
cdle
2021-10-14 09:45:54 +08:00
parent 407e4bff55
commit fd8cab26e0
2 changed files with 27 additions and 3 deletions
+1 -1
View File
@@ -248,7 +248,7 @@ func (_ *BaseSender) Await(sender Sender, callback func(Sender) interface{}, par
return
}
if c.Pattern == "" {
return
c.Pattern = `[\s\S]*`
}
c.Chan = make(chan interface{}, 1)
c.Result = make(chan interface{}, 1)