v2.1.2
修复协程调度顺序错误
This commit is contained in:
parent
12a79d9591
commit
cbfbebd7e1
@ -181,6 +181,7 @@ func Send(ctx *dto.Context, w http.ResponseWriter, req *http.Request) {
|
|||||||
hk.(hooks.EmailHook).SendAfter(ctx, e, sendErr)
|
hk.(hooks.EmailHook).SendAfter(ctx, e, sendErr)
|
||||||
}, hook)
|
}, hook)
|
||||||
}
|
}
|
||||||
|
as2.Wait()
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
errMsg = err.Error()
|
errMsg = err.Error()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user