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

Merge pull request #33 from seth/of/fix_pooler_starter_stop_return

Correct return of handle_cast stop
Oliver Ferrigni 10 лет назад
Родитель
Сommit
861b2cd6ba
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) ->