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

Increase invalidateCount to 100 to fix invalidate errors on OSX #307

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion haxe/ui/core/ComponentValidation.hx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class ComponentValidation extends ComponentEvents {
_invalidateCount++;

//we track the invalidate count to check if we are in an infinite loop or serious bug because it affects performance
if (this._invalidateCount >= 10) {
if (this._invalidateCount >= 100) {
throw 'The validation queue returned too many times during validation. This may be an infinite loop. Try to avoid doing anything that calls invalidate() during validation.';
}

Expand Down