-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Impression tracker for original API #804
base: master
Are you sure you want to change the base?
Conversation
PrebidMobile/PrebidMobile-core/src/main/java/org/prebid/mobile/AdUnit.java
Show resolved
Hide resolved
PrebidMobile/PrebidMobile-core/src/main/java/org/prebid/mobile/AdUnit.java
Show resolved
Hide resolved
PrebidMobile/PrebidMobile-core/src/main/java/org/prebid/mobile/AdUnit.java
Outdated
Show resolved
Hide resolved
PrebidMobile/PrebidMobile-core/src/main/java/org/prebid/mobile/AdUnit.java
Show resolved
Hide resolved
@@ -101,7 +101,7 @@ class GamOriginalInstreamNewApiFragment : AdFragment() { | |||
|
|||
override fun onDestroyView() { | |||
super.onDestroyView() | |||
adUnit?.stopAutoRefresh() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change looks as potential memory leak. What if the publisher utilizes a new counting methodology and will not call destroy()
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If a user uses this burl tracker, it's better to use destroy(). Otherwise the monitor will traverse view hierarchy as long as the ad view container exists.
More verbose logs.
8995039
to
801b7df
Compare
No description provided.