| 1456 | |
| 1457 | |
| 1458 | void ReleaseVarObjects(VarList &aVars) |
| 1459 | { |
| 1460 | for (int v = 0; v < aVars.mCount; ++v) |
| 1461 | { |
| 1462 | Var &var = *aVars.mItem[v]; |
| 1463 | if (var.IsObject()) |
| 1464 | var.ReleaseObject(); // ReleaseObject() vs Free() for performance (though probably not important at this point). |
| 1465 | // Otherwise, maybe best not to free it in case an object's __Delete meta-function uses it? |
| 1466 | } |
| 1467 | } |
| 1468 | |
| 1469 | void ReleaseStaticVarObjects(FuncList &aFuncs) |
| 1470 | { |
no test coverage detected