felipealmeida pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=611498f0356411f1a8c1f1ae6d94e0bd587d5de4

commit 611498f0356411f1a8c1f1ae6d94e0bd587d5de4
Author: Lauro Moura <[email protected]>
Date:   Fri Aug 26 17:18:13 2016 -0300

    ecore_js: Add missing HandleScope to addTimeline
---
 src/bindings/js/ecore_js/ecore_js_animator.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bindings/js/ecore_js/ecore_js_animator.cc 
b/src/bindings/js/ecore_js/ecore_js_animator.cc
index 322db17..8e2011d 100644
--- a/src/bindings/js/ecore_js/ecore_js_animator.cc
+++ b/src/bindings/js/ecore_js/ecore_js_animator.cc
@@ -477,6 +477,7 @@ void register_animator_timeline_add(v8::Isolate *isolate,
                                     v8::Handle<v8::String> name)
 {
     using v8::Handle;
+    using v8::HandleScope;
     using v8::Local;
     using v8::Value;
     using v8::Undefined;
@@ -498,6 +499,7 @@ void register_animator_timeline_add(v8::Isolate *isolate,
               = reinterpret_cast<efl::eina::js::global_ref<Value>*>(data);
             auto o = persistent->handle();
             auto isolate = v8::Isolate::GetCurrent();
+            HandleScope handle_scope(isolate);
 
             Handle<Value> args = compatibility_new<Number>(isolate, pos);
 

-- 


Reply via email to