This commit is contained in:
cdle
2021-10-11 20:50:50 +08:00
parent ae6f819283
commit bdbb2ec9c4
2 changed files with 7 additions and 8 deletions
-2
View File
@@ -252,8 +252,6 @@ func (_ *BaseSender) Await(sender Sender, callback func(string, Sender, error) i
if oc, ok := waits.LoadOrStore(key, c); ok {
oc.(*Carry).Chan <- InterruptError
}
fmt.Println(key)
fmt.Println(waits.Load(key))
select {
case result := <-c.Chan:
switch result.(type) {