Updated Branches: refs/heads/1994-merge-rcouch fe862184f -> 391675077
a more descriptive comment of the listener reloading flow Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/39167507 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/39167507 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/39167507 Branch: refs/heads/1994-merge-rcouch Commit: 39167507746c310eb275ac605cd7521ea1dadb79 Parents: fe86218 Author: Benoit Chesneau <[email protected]> Authored: Mon Jan 13 09:36:44 2014 +0100 Committer: Benoit Chesneau <[email protected]> Committed: Mon Jan 13 09:36:44 2014 +0100 ---------------------------------------------------------------------- apps/couch_httpd/src/couch_httpd_sup.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/39167507/apps/couch_httpd/src/couch_httpd_sup.erl ---------------------------------------------------------------------- diff --git a/apps/couch_httpd/src/couch_httpd_sup.erl b/apps/couch_httpd/src/couch_httpd_sup.erl index b430e45..1ce53f1 100644 --- a/apps/couch_httpd/src/couch_httpd_sup.erl +++ b/apps/couch_httpd/src/couch_httpd_sup.erl @@ -62,7 +62,7 @@ upgrade() -> %% @doc upgrade a listener -spec reload_listener(atom()) -> {ok, pid()} | {error, term()}. reload_listener(Id) -> - %% stop the listener + %% stop the listener and remove it from the supervision temporarely supervisor:terminate_child(?MODULE, Id), supervisor:delete_child(?MODULE, Id),
