소스 검색

HPCC-8030 R/Java/JavaScript/Python language support in ECL

More changes in response to code review

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 12 년 전
부모
커밋
49576a05f1
2개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      plugins/javaembed/javaembed.cpp
  2. 0 1
      plugins/v8embed/v8embed.cpp

+ 1 - 0
plugins/javaembed/javaembed.cpp

@@ -357,6 +357,7 @@ static __thread ThreadTermFunc threadHookChain;
 static void releaseContext()
 {
     delete threadContext;
+    threadContext = NULL;
     if (threadHookChain)
         (*threadHookChain)();
 }

+ 0 - 1
plugins/v8embed/v8embed.cpp

@@ -191,7 +191,6 @@ class V8JavascriptEmbedContext : public CInterfaceOf<IEmbedContext>
 public:
     V8JavascriptEmbedContext()
     {
-        Link();  // Deliberately 'leak' in order to avoid freeing this global object
     }
     virtual IEmbedFunctionContext *createFunctionContext(bool isImport, const char *options)
     {