v0.2.50..v0.2.51 changeset JavaScriptSchemaTranslator.cpp
Garret Voltz edited this page Jan 15, 2020
·
1 revision
diff --git a/hoot-js/src/main/cpp/hoot/js/schema/JavaScriptSchemaTranslator.cpp b/hoot-js/src/main/cpp/hoot/js/schema/JavaScriptSchemaTranslator.cpp
index cb50df4..80b4de4 100644
--- a/hoot-js/src/main/cpp/hoot/js/schema/JavaScriptSchemaTranslator.cpp
+++ b/hoot-js/src/main/cpp/hoot/js/schema/JavaScriptSchemaTranslator.cpp
@@ -207,8 +207,8 @@ void JavaScriptSchemaTranslator::_finalize()
if (tObj->Has(String::NewFromUtf8(current, "finalize")))
{
TryCatch trycatch;
- Handle<Value> final = _gContext->call(tObj,"finalize");
- HootExceptionJs::checkV8Exception(final, trycatch);
+ Handle<Value> finalize = _gContext->call(tObj,"finalize");
+ HootExceptionJs::checkV8Exception(finalize, trycatch);
}
}