diff options
Diffstat (limited to 'src/couchdb/couch_ref_counter.erl')
-rw-r--r-- | src/couchdb/couch_ref_counter.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/couchdb/couch_ref_counter.erl b/src/couchdb/couch_ref_counter.erl index 95093f72..4c824aa6 100644 --- a/src/couchdb/couch_ref_counter.erl +++ b/src/couchdb/couch_ref_counter.erl @@ -49,7 +49,8 @@ init({Pid, ChildProcs}) -> {ok, #srv{referrers=Referrers}}. -terminate(_Reason, _Srv) -> +terminate(Reason, _Srv) -> + couch_util:terminate_linked(Reason), ok. |