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