From 79a6bc569a38cc1c4122749054bb230ecb7f4537 Mon Sep 17 00:00:00 2001 From: AICells <1713699517@qq.com> Date: Thu, 5 Dec 2019 00:27:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gen_ipc.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gen_ipc.erl b/src/gen_ipc.erl index 53dfdf1..664fea5 100644 --- a/src/gen_ipc.erl +++ b/src/gen_ipc.erl @@ -1301,7 +1301,7 @@ startEventCall(#cycleData{module = Module} = CycleData, CurStatus, CurState, Deb terminate(Class, Reason, Stacktrace, CycleData, CurStatus, CurState, Debug, LeftEvents) end; _ -> - try Module:handleOnevent(Content, CurStatus, CurState) of + try Module:handleOnevent(Type, Content, CurStatus, CurState) of Result -> handleEventCallbackRet(CycleData, CurStatus, CurState, Debug, LeftEvents, Result, ?CB_FORM_EVENT, false) catch