This is an automated email from the ASF dual-hosted git repository.

jan pushed a commit to branch fix/sm60
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 99c1affff3e31b500ec155afd4cc864039c9ab01
Author: Jan Lehnardt <[email protected]>
AuthorDate: Mon Jan 6 11:28:58 2020 +0100

    fix: avoid segfaults, patch by @davisp
---
 src/couch/priv/couch_js/60/main.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/couch/priv/couch_js/60/main.cpp 
b/src/couch/priv/couch_js/60/main.cpp
index c92cfb7..ecedfbd 100644
--- a/src/couch/priv/couch_js/60/main.cpp
+++ b/src/couch/priv/couch_js/60/main.cpp
@@ -487,8 +487,5 @@ main(int argc, const char* argv[])
         JS_MaybeGC(cx);
     }
 
-    JS_DestroyContext(cx);
-    JS_ShutDown();
-
     return 0;
 }

Reply via email to