Просмотр исходного кода

Correct return of handle_cast stop

Oliver Ferrigni 10 лет назад
Родитель
Сommit
e71ab8e055
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/pooler_starter.erl

+ 1 - 1
src/pooler_starter.erl

@@ -111,7 +111,7 @@ handle_cast(accept_member, #starter{msg = Msg, parent = Parent, pool = #pool{nam
     {noreply, State};
 
 handle_cast(stop, State) ->
-    {stop, normal, stop_ok, State};
+    {stop, normal, State};
 
 
 handle_cast(_Request, State) ->