修复画中画与之布局内存泄露问题

Signed-off-by: Ning Yuanfeng <Nyuanfeng@163.com>
This commit is contained in:
Ning Yuanfeng 2024-11-11 20:59:56 +08:00
parent 88530a7c98
commit d2af8bb244
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ class XCNodeController extends NodeController {
}
}
export class PiPContent extends ViewPU {
class PiPContent extends ViewPU {
constructor(b2, c2, d2, e2 = -1, f2 = undefined, g2) {
super(b2, d2, e2, g2);
if (typeof f2 === 'function') {

View File

@ -41,7 +41,7 @@ class XCNodeController extends NodeController {
@Entry
@Component
export struct PiPContent {
struct PiPContent {
private xComponentController: XComponentController = new XComponentController();
private nodeController: NodeController | null = null;
private mXCNodeController: XCNodeController | null = null;