This is an automated email from the ASF dual-hosted git repository.
jan pushed a commit to branch 749-fix-couch_peruser-app-structure
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to
refs/heads/749-fix-couch_peruser-app-structure by this push:
new 564b901 unlink changes listeners before exiting them so we survive
564b901 is described below
commit 564b901b7e891b45492c25c18dbb2019be9189d3
Author: Jan Lehnardt <[email protected]>
AuthorDate: Mon Oct 9 21:26:19 2017 +0200
unlink changes listeners before exiting them so we survive
---
src/couch_peruser/src/couch_peruser.erl | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/couch_peruser/src/couch_peruser.erl
b/src/couch_peruser/src/couch_peruser.erl
index c5110da..2493387 100644
--- a/src/couch_peruser/src/couch_peruser.erl
+++ b/src/couch_peruser/src/couch_peruser.erl
@@ -283,6 +283,7 @@ user_db_name(User) ->
exit_changes(State) ->
lists:foreach(fun (ChangesState) ->
demonitor(State#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
['"[email protected]" <[email protected]>'].