소스 검색

优化调整

master
AICells 4 년 전
부모
커밋
34bad3a44a
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. +5
    -0
      src/gen_srv.erl

+ 5
- 0
src/gen_srv.erl 파일 보기

@ -108,6 +108,7 @@
-callback handleCall(Request :: term(), State :: term(), From :: {pid(), Tag :: term()}) ->
ok |
{reply, Reply :: term()} |
{reply, Reply :: term(), NewState :: term()} |
{reply, Reply :: term(), NewState :: term(), Actions :: actions()} |
{noreply, NewState :: term()} |
@ -743,6 +744,10 @@ handleCR(Parent, Name, Module, HibernateAfterTimeout, Debug, Timers, CurState, R
case Result of
ok ->
receiveIng(Parent, Name, Module, HibernateAfterTimeout, Debug, Timers, CurState, false);
{reply, Reply} ->
reply(From, Reply),
NewDebug = ?SYS_DEBUG(Debug, Name, {out, Reply, From, CurState}),
receiveIng(Parent, Name, Module, HibernateAfterTimeout, NewDebug, Timers, CurState, false);
{noreply, NewState} ->
receiveIng(Parent, Name, Module, HibernateAfterTimeout, Debug, Timers, NewState, false);
{reply, Reply, NewState} ->

불러오는 중...
취소
저장