Adding missing Dispose calls for read Args
Publish PHP Package / docker (push) Successful in 6s Details

This commit is contained in:
Pavel Shevaev 2024-11-18 19:30:38 +03:00
parent 58cbd3c08b
commit 75cd2c8c30
1 changed files with 2 additions and 0 deletions

View File

@ -173,6 +173,7 @@ Script_{{o.name|norm_name}}.Method_{{m.name}}.ReturnValue(frm, stack
{%- else ~%}
var args = Script_{{o.name|norm_name}}.Method_{{m.name}}.ReadArgs(frm, stack, args_info);
Script_{{o.name|norm_name}}.Method_{{m.name}}.Exec(frm, args {{_self.out_results(m)}});
args.Dispose();
{{_self.return_method_out_results(o, m)}}
return null;
{%- endif ~%}
@ -198,6 +199,7 @@ Script_{{o.name|norm_name}}.Method_{{m.name}}.ReturnValue(frm, stack
var args = Script_{{o.name|norm_name}}.Method_{{m.name}}.ReadArgs(frm, stack, args_info);
Script_{{o.name|norm_name}}.Method_{{m.name}}.Exec(frm, args {{_self.out_results(m)}});
args.Dispose();
{{_self.return_method_out_results(o, m)}}
return null;