This commit is contained in:
Frank Feng 2017-03-12 23:07:45 +08:00
parent 6472457342
commit 7cb3b7ca8a
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
-define(GPROC_POOL(JoinOrLeave, Pool, I),
(begin
case JoinOrLeave of
join -> gproc_pool:connect_worker(Pool, {Pool, Id});
join -> gproc_pool:connect_worker(Pool, {Pool, I});
leave -> gproc_pool:disconnect_worker(Pool, {Pool, I})
end
end)).