Browse Source

state is not list

221V 3 years ago
parent
commit
d419a92aa5
1 changed files with 0 additions and 3 deletions
  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),