Skip to content

Commit

Permalink
Merge pull request #14 from goj/master
Browse files Browse the repository at this point in the history
Bugfix: eredis_client:stop/1 used to crash the caller process.
  • Loading branch information
knutin committed Oct 20, 2011
2 parents 39db581 + a9400f1 commit 84e1c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eredis_client.erl
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ handle_call({request, Req}, From, State) ->
do_request(Req, From, State);

handle_call(stop, _From, State) ->
{stop, normal, State};
{stop, normal, ok, State};

handle_call(_Request, _From, State) ->
{reply, unknown_request, State}.
Expand Down

0 comments on commit 84e1c3f

Please sign in to comment.