You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However there is no cleanup of this.$gptAds.slots when the component is removed, thus keeping the adSlot in memory, event after the component is destroyed.
Is this intentional ?
Possible solution
I think the adSlot should be also removed from this.$gptAds.slots.
For example:
Problem
The plugin injects
gptAds
to the application and theGptAd
component adds to the$gptAds.slots
array inside themounted
hook:The
beforeDestroy()
hook usesgoogletag.destroySlots
method as it should.However there is no cleanup of
this.$gptAds.slots
when the component is removed, thus keeping the adSlot in memory, event after the component is destroyed.Is this intentional ?
Possible solution
I think the adSlot should be also removed from
this.$gptAds.slots
.For example:
The text was updated successfully, but these errors were encountered: