pastojs: fixed wrong setting rtl.TObjectDestroy

This commit is contained in:
mattias 2021-03-17 17:14:08 +00:00
parent e50b806902
commit 2e409dda39

View File

@ -15533,6 +15533,7 @@ begin
else if El.IsExternal then
exit(ConvertExtClassType(El,AContext));
IsTObject:=false;
if El.CustomData is TPas2JSClassScope then
begin
Scope:=TPas2JSClassScope(El.CustomData);