Skip to content

Commit

Permalink
Merge branch 'master' of github.com:uwiger/gproc
Browse files Browse the repository at this point in the history
  • Loading branch information
uwiger committed Mar 26, 2014
2 parents a1085aa + 1ac8237 commit e0122ae
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/gproc_pool.erl
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -597,10 +597,6 @@ force_delete_(Pool) ->
Workers = gproc:select( Workers = gproc:select(
{l,c}, [{ {?POOL_WRK(Pool,'_'), '_', '_'}, [], ['$_']}]), {l,c}, [{ {?POOL_WRK(Pool,'_'), '_', '_'}, [], ['$_']}]),
Names = find_names(Pool, '_'), Names = find_names(Pool, '_'),
io:fwrite("Props = ~p~n"
"Cur = ~p~n"
"Workers = ~p~n"
"Names = ~p~n", [Props, Cur, Workers, Names]),
lists:foreach( lists:foreach(
fun({Key, Pid, _}) when Pid == self() -> gproc:unreg(Key); fun({Key, Pid, _}) when Pid == self() -> gproc:unreg(Key);
({_, Pid, _}) when is_pid(Pid) -> exit(Pid, kill) ({_, Pid, _}) when is_pid(Pid) -> exit(Pid, kill)
Expand Down

0 comments on commit e0122ae

Please sign in to comment.