Commit 918b217f authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Fixed Android local ref table overflow due to enums

parent a26324b9
......@@ -333,6 +333,11 @@ static {{return}} {{callbackName}}({{params}}) {
env->DeleteLocalRef(j_{{objectName}});
}
{{/jobjects}}
{{#jenums}}
if (j_{{enumName}}) {
env->DeleteLocalRef(j_{{enumName}});
}
{{/jenums}}
{{#jstrings}}
if (j_{{stringName}}) {
env->DeleteLocalRef(j_{{stringName}});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment