mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 23:51:20 -08:00
fix(ads): [PKG-ADS-05] preserve ownership and verify native browser lifecycle
This commit is contained in:
1 parent
fb1cfa701d
commit
29692d2815
22 files changed
+1060
-29
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user