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

Issue 595: Avoid relying on WeakRef #596

Open
wants to merge 4 commits into
base: release/3.1
Choose a base branch
from

Conversation

mabe02
Copy link
Owner

@mabe02 mabe02 commented Feb 20, 2024

No description provided.

@Kapral67
Copy link

Thanks, I proposed some changes to the test in #597

if(animatedLabel == null) {
cancel();
canCloseTimer();
if(animatedLabel == null || animatedLabel.getTextGUI() == null) {
Copy link

@Kapral67 Kapral67 Feb 20, 2024

Choose a reason for hiding this comment

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

If WaitingDialog::createDialog and WaitingDialog::showDialog have sufficient time between these two calls, the AnimatedLabel will never begin as its textGui is null when the AnimatedLabel starts its animation

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