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

Null label text can ruin whole app #831

Merged
merged 2 commits into from
Dec 20, 2022

Conversation

pkindruk
Copy link
Contributor

My custom labeler returned null for some values, which made LiveCharts take over UI thread and app became unresponsive forever. Returning null instead of string.Empty was not the best idea. But library should be more fool-proof.
I don't have nullable enabled in that code, so I don't get IDE warning.

Copy link
Owner

@beto-rodriguez beto-rodriguez left a comment

Choose a reason for hiding this comment

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

makes sense!

@beto-rodriguez beto-rodriguez merged commit 34f2f8a into beto-rodriguez:dev Dec 20, 2022
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