diff options
author | Damien F. Katz <damien@apache.org> | 2009-04-10 02:21:37 +0000 |
---|---|---|
committer | Damien F. Katz <damien@apache.org> | 2009-04-10 02:21:37 +0000 |
commit | 1df631f8653fefdda8d852b39f4ca9aec46f69da (patch) | |
tree | b689897a497fed4599a68d96322023a4782573a2 /src/couchdb/couch_server.erl | |
parent | 7db96420155d3fe6b6d8b5eaa10660a65d19b8cc (diff) |
Fixes for leaked file handles, with test.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@763858 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_server.erl')
-rw-r--r-- | src/couchdb/couch_server.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/couchdb/couch_server.erl b/src/couchdb/couch_server.erl index 164af094..870d0d76 100644 --- a/src/couchdb/couch_server.erl +++ b/src/couchdb/couch_server.erl @@ -159,7 +159,8 @@ init([]) -> max_dbs_open=MaxDbsOpen, start_time=httpd_util:rfc1123_date()}}. -terminate(_Reason, _Server) -> +terminate(Reason, _Srv) -> + couch_util:terminate_linked(Reason), ok. all_databases() -> |