221V 3 лет назад
Родитель
Сommit
d419a92aa5
1 измененных файлов с 0 добавлено и 3 удалено
  1. 0 3
      apps/myapp/src/myapp_events.erl

+ 0 - 3
apps/myapp/src/myapp_events.erl

@@ -64,9 +64,6 @@ handle_cast(_Req, State) ->
   {noreply, State}.
 
 
-handle_info(check_time_process, []) ->
-  erlang:send_after(1000, self(), check_time_process),
-  {noreply, []};
 handle_info(check_time_process, State) ->
   erlang:send_after(1000, self(), check_time_process),