diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-07-14 21:18:57 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-07-14 21:18:57 -0400 |
commit | 85ae6ca690edad17ceb92b856623a0a599924c77 (patch) | |
tree | a9c6c06a73a6608109f587193205cd7f6ff53232 | |
parent | 234fcf93643671318e46fecddf793b2f119418f5 (diff) |
bah, missed a rename
-rw-r--r-- | src/rexi_server.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rexi_server.erl b/src/rexi_server.erl index 5fc342bc..c4dc740d 100644 --- a/src/rexi_server.erl +++ b/src/rexi_server.erl @@ -27,7 +27,7 @@ handle_cast({doit, From, MFA}, #st{workers=Workers} = St) -> handle_cast({kill, FromRef}, #st{workers=Workers} = St) -> case find_worker_from(FromRef, Workers) of {Pid, KeyRef, {_, FromRef}} -> - erlang:demonitor(Ref), + erlang:demonitor(KeyRef), exit(Pid, kill), {noreply, St#st{workers = remove_worker(KeyRef, Workers)}}; false -> |