This is an automated email from the ASF dual-hosted git repository. davisp pushed a commit to branch optimize-ddoc-cache in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 62bfbf467915fe27b4fac4cb4a4a6413c159c990 Author: Paul J. Davis <[email protected]> AuthorDate: Mon Jul 10 13:26:25 2017 -0500 FIXUP: Remove unnecessary catch --- src/ddoc_cache/src/ddoc_cache_lru.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ddoc_cache/src/ddoc_cache_lru.erl b/src/ddoc_cache/src/ddoc_cache_lru.erl index ff70342..49aa62d 100644 --- a/src/ddoc_cache/src/ddoc_cache_lru.erl +++ b/src/ddoc_cache/src/ddoc_cache_lru.erl @@ -99,7 +99,7 @@ init(_) -> terminate(_Reason, St) -> case is_pid(St#st.evictor) of - true -> catch exit(St#st.evictor, kill); + true -> exit(St#st.evictor, kill); false -> ok end, ok. -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
