From 33c83f00a881b193bf71f310ad581e8b6bd077b7 Mon Sep 17 00:00:00 2001 From: Mateusz Czeladka Date: Tue, 18 Jul 2017 20:48:57 +0200 Subject: [PATCH] It is more secure (thread safe) to use isolate passed explicitly rather than relying on it retrieved via a static call in constructor. --- jni/com_eclipsesource_v8_V8Impl.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/jni/com_eclipsesource_v8_V8Impl.cpp b/jni/com_eclipsesource_v8_V8Impl.cpp index 7c9fcff65..84bfbfaef 100644 --- a/jni/com_eclipsesource_v8_V8Impl.cpp +++ b/jni/com_eclipsesource_v8_V8Impl.cpp @@ -742,7 +742,7 @@ bool runScript(Isolate* isolate, JNIEnv *env, Local