Skip to content
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

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

ValentinPostindustria
Copy link
Collaborator

No description provided.

@ValentinPostindustria
Copy link
Collaborator Author

Charles session.

@ValentinPostindustria
Copy link
Collaborator Author

@ValentinPostindustria ValentinPostindustria marked this pull request as ready for review December 19, 2024 10:07
@@ -101,7 +101,7 @@ class GamOriginalInstreamNewApiFragment : AdFragment() {

override fun onDestroyView() {
super.onDestroyView()
adUnit?.stopAutoRefresh()
Copy link
Contributor

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()?

Copy link
Collaborator Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants