basho/riak_api — pull request #10 by seancribbs (2012-08-20 16:02:01+00:00)
Title: Add deregistration of services

Applications that proved PB services should deregister them when shutting down so as to leave a clean state. This also helps when running test suites that start/stop those applications.

Replacing #4, this also serializes registration and deregistration through a `gen_server` process, making the modification of the dispatch table less prone to race conditions.

See also: basho/riak_kv#353, basho/riak_kv#354, basho/riak_search#116