浏览代码

pastojs: fixed wrong setting rtl.TObjectDestroy

git-svn-id: trunk@48995 -
Mattias Gaertner 4 年之前
父节点
当前提交
c813fafa37
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      packages/pastojs/src/fppas2js.pp

+ 1 - 0
packages/pastojs/src/fppas2js.pp

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