Commit 68cebb0
committed
fix(UIManager): 在关闭UI时移除组件并释放资源
在销毁UI组件时,确保先将其从父节点移除并清理组件,再执行释放操作,避免潜在的内存泄漏问题1 parent 38b642e commit 68cebb0
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| |||
0 commit comments