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

[Master] Add ability to disable the pollInternalLogs via config and change to stop using setInterval #2055 #2056

Merged
merged 1 commit into from
Apr 22, 2023

Conversation

MSNev
Copy link
Collaborator

@MSNev MSNev commented Apr 20, 2023

No description provided.

@MSNev MSNev added this to the 2.8.13 milestone Apr 20, 2023
@MSNev MSNev force-pushed the MSNev/IntervalTimer branch 3 times, most recently from 6b70fe0 to 9e6dea6 Compare April 20, 2023 19:55
clearInterval(intervalHandle);
intervalHandle = null;
if (queueTimer) {
clearInterval(queueTimer);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to change this to clearTimeout here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, nice catch, its actually the other way around this should stay as clearInterval but line 68 should be setInterval

Copy link
Collaborator Author

@MSNev MSNev Apr 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correction, as this is the PageViewManager yes this should be clearTimeout.
Github needs a double thumbs up 😄

@MSNev MSNev merged commit 0d970c7 into master Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants