mirror of
https://github.com/Jinnrry/PMail.git
synced 2025-02-20 11:43:09 +08:00
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)
|
||||
}, hook)
|
||||
}
|
||||
as2.Wait()
|
||||
|
||||
if err != nil {
|
||||
errMsg = err.Error()
|
||||
|
Loading…
x
Reference in New Issue
Block a user