Index: Source/bindings/templates/methods.cpp |
diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp |
index 865271c40531c6c912a1829f34c4513f3021fdff..c6f9b1f864d872800fbf0b95030175436b8c7235 100644 |
--- a/Source/bindings/templates/methods.cpp |
+++ b/Source/bindings/templates/methods.cpp |
@@ -273,6 +273,11 @@ else |
{% if method.is_custom_call_epilogue %} |
{{v8_class}}::{{method.name}}MethodEpilogueCustom(info, impl); |
{% endif %} |
+{% if method.clear_cached_attributes %} |
+{% for cached_attribute in method.clear_cached_attributes %} |
+V8HiddenValue::deleteHiddenValue(info.GetIsolate(), info.Holder(), V8HiddenValue::{{cached_attribute}}(info.GetIsolate())); |
+{% endfor %} |
+{% endif %} |
{% endmacro %} |