fix(ads): [PKG-ADS-05] preserve ownership and verify native browser lifecycle

This commit is contained in:
Harvey Zhao committed 2026-09-12 08:52:51 +08:00
1 parent fb1cfa701d
commit 29692d2815
22 files changed
+1060 -29

No files matched your search

+1 -1
View File
@@ -279,7 +279,7 @@ function createSession(art, option, icons, utils) {
} catch (error) {
report(error);
} finally {
if (template.$ads === root)
if (root && template.$ads === root)
delete template.$ads;
}
}