wooga/eredis — pull request #14 by goj (2011-10-20 09:47:08+00:00)
Title: Bugfix: eredis_client:stop/1 used to crash the caller process.

eredis_client:handle_call(stop, _From, State) used to return 3-element tuple, thus not replying to the caller and making it crash when gen_server stopped.

See:

- http://www.erlang.org/doc/man/gen_server.html#Module:handle_call-3
- https://github.com/erlang/otp/blob/master/lib/stdlib/src/gen_server.erl#L176-181
- https://github.com/erlang/otp/blob/master/lib/stdlib/src/gen.erl#L204-224