This is an automated email from the ASF dual-hosted git repository. wohali pushed a commit to branch 749-fix-couch_peruser-app-structure in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 9ae88514637d59a4e66bf9de906876739542a251 Author: Jan Lehnardt <j...@apache.org> AuthorDate: Tue Oct 10 10:47:39 2017 +0200 fix state call --- src/couch_peruser/src/couch_peruser.erl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/couch_peruser/src/couch_peruser.erl b/src/couch_peruser/src/couch_peruser.erl index 2493387..f130e13 100644 --- a/src/couch_peruser/src/couch_peruser.erl +++ b/src/couch_peruser/src/couch_peruser.erl @@ -279,10 +279,10 @@ user_db_name(User) -> [string:to_lower(integer_to_list(X, 16)) || <<X>> <= User]), <<?USERDB_PREFIX,HexUser/binary>>. --spec exit_changes(State :: #state{}) -> ok. -exit_changes(State) -> +-spec exit_changes(ChangesState :: #changes_state{}) -> ok. +exit_changes(ChangesState) -> lists:foreach(fun (ChangesState) -> - demonitor(State#changes_state.changes_ref, [flush]), + demonitor(ChangesState#changes_state.changes_ref, [flush]), unlink(ChangesState#changes_state.changes_pid), exit(ChangesState#changes_state.changes_pid, kill) end, State#state.states). -- To stop receiving notification emails like this one, please contact "commits@couchdb.apache.org" <commits@couchdb.apache.org>.